0

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

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

登录表单的 action 属性中的 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/

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

4

1 回答 1

0

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

我会尝试这种格式

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" 
于 2016-08-10T14:19:39.073 回答