首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何使用Thc-hydra找到一个html表单的post用户名和密码?

如何使用Thc-hydra找到一个html表单的post用户名和密码?
EN

Stack Overflow用户
提问于 2016-08-10 15:01:15
回答 1查看 2.2K关注 0票数 0

我登录页面的url是119.xx.xxx.xxx:8080/webpage/

当我在浏览器中输入此url以转到登录页面时,我会看到此请求标头GET /webpage/ HTTP/1.1

登录表单的操作属性中的url是/webpage/login/loginCheck

在Thc-hydra中,我给出了这个命令hydra -t 1 -V -f -l user1234 -P pass.txt 119.xx.xxx.xxx http-post-form "/webpage/login/loginCheck:userId=^USER^&password=^PASS^:F=Login page"

但结果显示Child with pid 1234 terminating, cannot connect

当我尝试这个命令hydra -t 1 -V -f -l user1234 -P pass.txt 119.xx.xxx.xxx:8080/webpage/ http-post-form "/login/loginCheck:userId=^USER^&password=^PASS^:F=Login page"时,我得到了错误network size may only be between /16 and /31: 119.xx.xxx.xxx:8080/webpage/

我在哪里犯了错?我该如何解决这个问题呢?

EN

回答 1

Stack Overflow用户

发布于 2016-08-10 22:19:39

如上所述,第一个示例没有端口号,第二个示例包含不同URL路径格式的混合。

我会尝试这种格式

代码语言:javascript
运行
复制
hydra -t 1 -V -f -l user1234 -P pass.txt "http-post-form://192.168.1.2:8080/login/loginCheck:userId=^USER^&password=^PASS^:F=Login page" 
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38866349

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档