python - 如何用chrome自带的抓包工具分析向一个网站提交的数据被发送到哪里处理了
PHPz
PHPz 2017-04-17 14:57:35
0
4
1012

最近刚学python,想做一个自动登录网站的脚本(比如百度什么的)。然后看网上说需要用抓包工具分析网站把用户名,密码提交到哪里处理以便模仿。但我以前没用过抓包工具,用chrome的开发工具,发现不到登录处理用的网页,找post也找不到。求一个详细的教程。
求用百度,人人之类的指导一下,怎么发现数据被提交到哪里去了。

PHPz
PHPz

学习是最好的投资!

reply all(4)
小葫芦

Open 审查元素 before sending. After sending, you can see the sending page in 审查元素-Network. Click to see the sending request and receiving headers. Or you can directly open chrome://net-internals/ before sending, and click the stop button on the net-internals page after sending. You can also capture the packet you want on the events page. I usually use the former, and when that doesn't work, I use the latter.

小葫芦

Press F12, open the console, right-click, select Log XMLHttpRequest, and you can see the logs submitted asynchronously using AJAX. Click on the log to see the submitted data.

巴扎黑

Try it and see if you can see the post.

巴扎黑

I just gave it a try, no, still no

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template