I'm going to use PHP to simulate the log in to the intranet TFS, and then regularly to update the next task, now the first step, the simulation login to TFS, but with Firefox to try to catch the login packet, but is not see the GET or post fields.
If you open this page, the login box will pop up:
This is filled in the account password, but can not find where is the post or get content, please point out!
Reply content:
I'm going to use PHP to simulate the log in to the intranet TFS, and then regularly to update the next task, now the first step, the simulation login to TFS, but with Firefox to try to catch the login packet, but is not see the GET or post fields.
If you open this page, the login box will pop up:
This is filled in the account password, but can not find where is the post or get content, please point out!
This is HTTP Basic Authorization, not get or post
Add Authorization Header when requested, value "Basic" +base64_encode (username+ ': ' +password)
PHP code
$curl = curl_init();curl_setopt($curl, CURLOPT_URL, $url);curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);curl_setopt($curl, CURLOPT_USERPWD, "[$username]:[$password]");
This is not a normal get or post
This is the HTTP authentication
HTTPS://SEGMENTFAULT.COM/A/11 ...
Fill in the user name and password, and then determine, to crawl this interaction of the packet, there will be a post or get field names and values