WeChall_Training: Programming 1 (Training, Coding)

When you visit this link you receive a message.
Submit the same message back to http://www.wechall.net/challenge/training/programming1/index.php?answer=the_message
Your timelimit is 1.337 seconds

 

解题:

  先在浏览器获取自己的cookie,再用python写了个自动提交的程序,header加上自己的cookie,运行即可。

 

import urllib.request
import http.cookiejar
url1 = 'http://www.wechall.net/challenge/training/programming1/index.php?action=request'
url2 = 'http://www.wechall.net/challenge/training/programming1/index.php?answer='
header = {}

req = urllib.request.Request(url1,headers = header)
req.add_header('Cookie','********************************')
text = urllib.request.urlopen(req).read().decode('utf-8')
print(text)

url2 = url2+text
req = urllib.request.Request(url2,headers = header)
req.add_header('Cookie','********************************')
text = urllib.request.urlopen(req).read().decode('utf-8')
print(text)

 

转载于:https://www.cnblogs.com/zhurb/p/5854686.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
About the Book<br/><br/>Real-world developer training for results on the job—and on the exam.<br/><br/>Build real-world programming skills—and prepare for MCP Exams 70-305 and 70-315—with this official Microsoft study guide. Work at your own pace through the lessons and hands-on exercises to learn how to build Web applications using Visual Basic .NET and Visual C# .NET. Then extend your expertise through additional skill-building exercises. As you gain practical experience with essential Web development tasks, you’re also preparing for MCAD or MCSD certification for Microsoft .NET.<br/>Learn how to: <br/>•Use Microsoft ASP.NET to build Web Forms applications <br/>•Create user services, including user input, localization features, and online help<br/>•Access and modify data with Microsoft ADO.NET<br/>•Build and reuse custom Web controls<br/>•Manage application appearance and behavior with style sheets and XML<br/>•Configure security features for Web applications, including authentication and authorization<br/>•Test and debug coding errors<br/>•Deploy applications to your server or hosting service <br/>•Maintain and optimize applications<br/><br/>Your kit includes:<br/>•NEW—60-day evaluation version of Microsoft Visual Studio® .NET 2003 Professional Edition on DVD<br/>•Comprehensive self-paced study guide that maps to the objectives of the final exams<br/>•NEW—Expanded coverage on delegates, events, unmanaged code, COM, and installation programs, plus a new chapter on caching<br/>•NEW—150 challenging practice questions on CD. Test yourself by exam (70-305 or 70-315) or by individual objective(s). Choose the number of questions and timed or untimed mode. You get automated scoring and detailed explanation for both correct and incorrect answers.<br/>•NEW—20-question interactive game<br/>•NEW—300+ revised and tested code samples and labs for Visual C# .NET and Visual Basic .NET<br/>•Learn-by-doing exercises for skills you can apply to the job<br/>•Fully searchable eBook<br/><br/>Related Books<br/><br/>MCAD/MCSD Self-Paced Training Kit: Implementing Security for Applications with Microsoft® Visual Basic® .NET and Microsoft Visual C#® .NET<br/>MCAD/MCSD Self-Paced Training Kit: Developing Windows®-Based Applications with Microsoft® Visual Basic® .NET and Microsoft Visual C#® .NET, Second Ed<br/>MCAD/MCSD Self-Paced Training Kit: Microsoft® .NET Core Requirements, Exams 70-305/70-315, 70-306/70-316, 70-310/70-320, and 70-300

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值