Import mode fix.

This commit is contained in:
cora32 2015-04-02 20:27:10 +03:00
parent fcd1c9a4b8
commit 01aa04d53e
11 changed files with 1023 additions and 1024 deletions

View File

@ -1,8 +1,7 @@
#include "IPCAuth.h"
#include "Utils.h"
#include "BruteUtils.h"
#include "FileUpdater.h"
#include "Connector.h"
#include "Utils.h"
lopaStr IPC::IPCBrute(const char *ip, int port, char *SPEC)
{

View File

@ -1,6 +1,7 @@
#ifndef IPCAUTH_H
#define IPCAUTH_H
#include "Connector.h"
#include "mainResources.h"
class IPC {

View File

@ -1,28 +1,28 @@
admin
root
123123
123456
12345
cisco
super
meinsm
monitor
test
ftp
1234
administrator
qwerty
recovery
Polycom
system
naadmin
telecom
dreambox
master
Admin
guest
backup
cgadmin
0000
admin
root
123123
123456
12345
cisco
super
meinsm
monitor
test
ftp
1234
administrator
qwerty
recovery
Polycom
system
naadmin
telecom
dreambox
master
Admin
guest
backup
cgadmin
0000
1111

File diff suppressed because it is too large Load Diff

View File

@ -1246,7 +1246,7 @@ void nesca_3::switchDataFields()
//}
void nesca_3::slotTabChanged(int index){
if(index < 2) savedTabIndex = index;
if(index <= 2) savedTabIndex = index;
}
void nesca_3::switchToJobMode()
@ -1919,7 +1919,7 @@ void nesca_3::IPScanSeq()
{
if(ui->portLine->text() != "")
{
saveOptions();
saveOptions();
ui->labelParsed_Value->setText("0/0");
ui->labelOffline_Value->setText("0");
stopFirst = false;
@ -2004,7 +2004,7 @@ void nesca_3::DNSScanSeq()
{
if(ui->lineEditPort->text() != "")
{
saveOptions();
saveOptions();
ui->labelParsed_Value->setText("0/0");
ui->labelOffline_Value->setText("0");
if(ui->lineEditStartIPDNS->text().indexOf(".") > 0)
@ -2060,9 +2060,10 @@ void nesca_3::ImportScanSeq()
tr("Files (*.txt)")
);
else fileName = importFileName;
if(fileName != "")
{
saveOptions();
saveOptions();
ui->tabMainWidget->setTabEnabled(0, false);
ui->tabMainWidget->setTabEnabled(1, false);

View File

@ -20,7 +20,6 @@ int PieAnomC1 = 0, PieBA = 0, PieSusp = 0, PieLowl = 0, PieWF = 0, PieSSH = 0;
int AnomC1 = 0, Filt = 0, Overl = 0, Lowl = 0, Alive = 0, saved = 0, Susp = 0, WF = 0, offlines = 0, ssh = 0;
int GlobalNegativeSize = 0;
int ipCounter = 0;
int mode;
int found = 0, indexIP = 1;
int gMode;
int MaxPass = 0, MaxLogin = 0, MaxTags = 0, MaxWFLogin = 0, MaxWFPass = 0, MaxSSHPass = 0;
@ -527,12 +526,12 @@ void _tracker() {
if(jsonArr == NULL) jsonArr = new QJsonArray();
QJsonObject jsonMeta;
if(mode == 0) jsonMeta.insert("mode", QJsonValue(QString("IP"))); //
else if(mode == 1) jsonMeta.insert("mode", QJsonValue(QString("DNS"))); //Mode
else if(mode == -1) jsonMeta.insert("mode", QJsonValue(QString("Import"))); //
if(gMode == 0) jsonMeta.insert("mode", QJsonValue(QString("IP"))); //
else if (gMode == 1) jsonMeta.insert("mode", QJsonValue(QString("DNS"))); //Mode
else if (gMode == -1) jsonMeta.insert("mode", QJsonValue(QString("Import"))); //
jsonMeta.insert("range", QJsonValue(QString(metaRange)) );
jsonMeta.insert("current", QJsonValue(QString(currentIP)) );
if(mode == 1) jsonMeta.insert("tld", QJsonValue(QString(gTLD))); //TLD
if (gMode == 1) jsonMeta.insert("tld", QJsonValue(QString(gTLD))); //TLD
jsonMeta.insert("targets", QJsonValue(QString(metaTargets)) );
jsonMeta.insert("percent", QJsonValue(QString(metaPercent)) );
jsonMeta.insert("saved", QJsonValue(QString::number(saved)) );
@ -1788,7 +1787,6 @@ int startScan(char* args) {
};
ParseArgs(argc, argv);
mode = gMode;
int resInit = fInit(gMode, gRange);
if (resInit == -1)

104
pass.txt
View File

@ -1,53 +1,53 @@
root
admin
password
123456
1234
12345
ADMIN
cisco
ftp
ROOT
123123
pass
passwd
qwerty
meinsm
monitor
user
test
sysadm
admin123
Admin
123321
12344321
toor
qwerty123
1q2w3e4r
987654321
system
telecom
dreambox
111111
1111
654321
!@#$%^
0000
000000
master
12345678
666666
123123123
123454321
0123456789
qqqqqq
administrator
sys
guest
backup
fujiyama
super
P@ssw0rd
root
admin
password
123456
1234
12345
ADMIN
cisco
ftp
ROOT
123123
pass
passwd
qwerty
meinsm
monitor
user
test
sysadm
admin123
Admin
123321
12344321
toor
qwerty123
1q2w3e4r
987654321
system
telecom
dreambox
111111
1111
654321
!@#$%^
0000
000000
master
12345678
666666
123123123
123454321
0123456789
qqqqqq
administrator
sys
guest
backup
fujiyama
super
P@ssw0rd
passw0rd

View File

@ -1,26 +1,26 @@
hw230f8034t:17932yhf823
root:root
root:admin
admin:admin
admin:root
backup:backup
guest:guest
root:master
root:1234
admin:master
admin:111111
root:12345
root:123456
admin:1234
admin:12345
root:12345678
root:123123
admin:123456
admin:12345678
root:654321
admin:123123
admin:654321
root:password
admin:pasword
root:1qazXSW@
hw230f8034t:17932yhf823
root:root
root:admin
admin:admin
admin:root
backup:backup
guest:guest
root:master
root:1234
admin:master
admin:111111
root:12345
root:123456
admin:1234
admin:12345
root:12345678
root:123123
admin:123456
admin:12345678
root:654321
admin:123123
admin:654321
root:password
admin:pasword
root:1qazXSW@
test:test

View File

@ -1 +1 @@
24B81-7F6
24B82-7EA

View File

@ -1,3 +1,3 @@
[FAIL]
admin
[FAIL]
admin
root

View File

@ -1,10 +1,10 @@
[FAIL]
admin
root
pass
password
toor
123123
123456
12345
[FAIL]
admin
root
pass
password
toor
123123
123456
12345
qwerty