diff --git a/FTPAuth.cpp b/FTPAuth.cpp index 5db3c6c..71fc48c 100644 --- a/FTPAuth.cpp +++ b/FTPAuth.cpp @@ -21,7 +21,7 @@ lopaStr FTPA::FTPBrute(const char *ip, const int port, PathStr *ps) { char login[128] = {0}; char pass[32] = {0}; - char nip[128] = { 0 }; + //char nip[128] = { 0 }; for (int i = 0; i < MaxFTPLogin; ++i) { @@ -30,7 +30,6 @@ lopaStr FTPA::FTPBrute(const char *ip, const int port, PathStr *ps) { strcpy(login, ftpLoginLst[i]); if (strlen(login) <= 1) continue; - for (int j = 0; j < MaxFTPPass; ++j) { if(!globalScanFlag) return lps; @@ -41,7 +40,7 @@ lopaStr FTPA::FTPBrute(const char *ip, const int port, PathStr *ps) { lpString = string(login) + ":" + string(pass); Connector con; - res = con.nConnect(nip, port, &buffer, NULL, NULL, &lpString); + res = con.nConnect(ip, port, &buffer, NULL, NULL, &lpString); if (res == -2) { if (rowIndex == -1) { nesca_3::addBARow(QString(ip) + ":" + QString::number(port), "--", "FAIL"); diff --git a/version b/version index f5021a8..a187fb3 100644 --- a/version +++ b/version @@ -1 +1 @@ -2716B-167 \ No newline at end of file +2716B-2E6 \ No newline at end of file