This commit is contained in:
cora32 2016-01-20 20:53:41 +03:00
parent 5bff76ac40
commit 9a29f8963d
2 changed files with 3 additions and 4 deletions

View File

@ -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");

View File

@ -1 +1 @@
2716B-167
2716B-2E6