cxz11 发表于 2022-6-19 11:37:50

请高手 帮我看一下POST 提交的问题

本帖最后由 cxz11 于 2022-6-19 18:48 编辑

事件 按钮1.被单击()
      变量 网址 为 文本型
      变量 数据 为 文本型
      网址="https://api.sanfengyun.com/www/break.php?cmd=visit_sysdomain&password=Qqq123456"
      数据="Content-Type: application/x-www-form-urlencoded&Referer:http://ftp6532695.host127.sanfengyun.cn/"
      
'Content-Type: application/x-www-form-urlencoded
'Referer: http://ftp6532695.host127.sanfengyun.cn/
      
      
      编辑框1.内容=发送网络数据4(网址,数据,"utf-8",5000)
结束 事件





被抓包地址   http://ftp6532695.host127.sanfengyun.cn
密码Qqq123456


提交地址    https://api.sanfengyun.com/www/break.php?cmd=visit_sysdomain&password=Qqq123456

详细数据   POST /www/break.php?cmd=visit_sysdomain&password=Qqq123456 HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
Referer: http://ftp6532695.host127.sanfengyun.cn/
Accept-Language: zh-CN
Origin: http://ftp6532695.host127.sanfengyun.cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: api.sanfengyun.com
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache


求高手帮我看看呀

橘子社区 发表于 2022-6-19 14:42:48

post数据应该是cmd=visit_sysdomain&password=Qqq123456 这样

z781140182 发表于 2022-6-19 18:08:18

你要把完整上下文。全部发出来。你这个一看就不对。数据格式不对、提交地址不读。发出来的时候。

你把重要信息用*****代替就可以了

cxz11 发表于 2022-6-19 18:41:02

橘子社区 发表于 2022-6-19 14:42
post数据应该是cmd=visit_sysdomain&password=Qqq123456 这样

试过的不行啊

cxz11 发表于 2022-6-19 18:41:57

z781140182 发表于 2022-6-19 18:08
你要把完整上下文。全部发出来。你这个一看就不对。数据格式不对、提交地址不读。发出来的时候。

你把重要 ...

这就是完整的用POST工具测试能成功

cxz11 发表于 2022-6-19 18:45:51

提交地址    https://api.sanfengyun.com/www/break.php?cmd=visit_sysdomain&password=Qqq123456

详细数据   POST /www/break.php?cmd=visit_sysdomain&password=Qqq123456 HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
Referer: http://ftp6532695.host127.sanfengyun.cn/
Accept-Language: zh-CN
Origin: http://ftp6532695.host127.sanfengyun.cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: api.sanfengyun.com
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache


求高手帮我看看呀


cxz11 发表于 2022-6-19 18:49:46

z781140182 发表于 2022-6-19 18:08
你要把完整上下文。全部发出来。你这个一看就不对。数据格式不对、提交地址不读。发出来的时候。

你把重要 ...

被抓包地址   http://ftp6532695.host127.sanfengyun.cn
密码Qqq123456


提交地址    https://api.sanfengyun.com/www/break.php?cmd=visit_sysdomain&password=Qqq123456

详细数据   POST /www/break.php?cmd=visit_sysdomain&password=Qqq123456 HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
Referer: http://ftp6532695.host127.sanfengyun.cn/
Accept-Language: zh-CN
Origin: http://ftp6532695.host127.sanfengyun.cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: api.sanfengyun.com
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache

wyc666 发表于 2022-6-19 19:39:59

明晨-紫月QQ:2240973822
欢迎加入安卓开发交流群:691958084

z781140182 发表于 2022-6-20 03:10:01

cxz11 发表于 2022-6-19 18:49
被抓包地址   http://ftp6532695.host127.sanfengyun.cn
密码Qqq123456



这个不是POST访问,就是普通的GET

GET地址:http://ftp6532695.host127.sanfengyun.cn

访问的时候带上这个cookie:zhujiwusysdomain=ftp6532695.host127.sanfengyun.cn

带上协议头:User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

就可以直接打开了

cxz11 发表于 2022-6-20 20:52:56

z781140182 发表于 2022-6-20 03:10
这个不是POST访问,就是普通的GET

GET地址:http://ftp6532695.host127.sanfengyun.cn


我就是不知道 E4A 的这个POST 代码 怎么写呀{:4_115:}   能不能耽搁你几分钟 帮我写一下呀
页: [1] 2
查看完整版本: 请高手 帮我看一下POST 提交的问题