When you visit this link you receive a message.
Submit the same message back to https://www.wechall.net/challenge/training/programming1/index.php?answer=the_message
Your timelimit is 1.337 seconds
Solution:
- Each time when you visit the link, it will display a random text on the page. And you have only 1.337 seconds to process the whole HTTP GET and Request actions.
- Of course you have to login the website first, and the website will always check your cookies.
- So, I decide to use Ajax to conquer this challenge. Below is my code example.
$.ajax({
url: 'http://www.wechall.net/challenge/training/programming1/index.php?action=request',
type: 'get',
dataType: 'text',
success:function(data){
var newUrl="index.php?answer="+data;
window.location.href=newUrl;
}
}); - Open JavaScript Console of Chrome Developer Tools and sent the above code.
- Your answer is correct. Congratulations you have solved this challenge.