我已经在我的网页中编写了一个登录程序,现在我想针对字典攻击对其进行测试。我正在使用 Apache 并且我的网站不在线所以要访问它我连接到 localhost/website 在 hydra 我正在使用命令
hydra -l username -P passList.txt localhost/website http-post-form "/logIn.php:user=^USER^&pass=^PASS:forgot"
但它以错误终止
[DATA] attacking service http-post-form on port 80
[ERROR] could not resolve address: localhost/website
0 of 1 target completed, 0 valid passwords found
[ERROR] 1 target did not resolve or could not be connected
问题是什么?