From a script I want to login to a website. For that I searched the source for the POST request. The post request to login the website has the data "useame", "passwort", "timestamp" and "token". However when I copy the timestamp and token and paste the post request to my browsers address bar with my useame and password like this:
https://example.com/action/login?__elgg_token=905adbf0c0111fef78a8344c38c8f2a8&__elgg_ts=1461577445&useame=foo&password=bar
the login is unsuccessful. Do I need a different token and timestamp?
This is from the source:
action="https://example.com/action/login" method="post" >
<input type="hidden" name="__elgg_token" value="905adbf0c0111fef78a8344c38c8f2a8" />
<input type="hidden" name="__elgg_ts" value="1461577445" />
<input type="text" name="useame" value="" class="form-control login-textarea form-control" />
<input type="password" name="password" value="" class="form-control login-textarea" />
برچسب:
نویسنده: استخدام کار