mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
Import mode fix.
This commit is contained in:
parent
fcd1c9a4b8
commit
01aa04d53e
@ -1,8 +1,7 @@
|
|||||||
#include "IPCAuth.h"
|
#include "IPCAuth.h"
|
||||||
|
#include "Utils.h"
|
||||||
#include "BruteUtils.h"
|
#include "BruteUtils.h"
|
||||||
#include "FileUpdater.h"
|
#include "FileUpdater.h"
|
||||||
#include "Connector.h"
|
|
||||||
#include "Utils.h"
|
|
||||||
|
|
||||||
lopaStr IPC::IPCBrute(const char *ip, int port, char *SPEC)
|
lopaStr IPC::IPCBrute(const char *ip, int port, char *SPEC)
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef IPCAUTH_H
|
#ifndef IPCAUTH_H
|
||||||
#define IPCAUTH_H
|
#define IPCAUTH_H
|
||||||
|
|
||||||
|
#include "Connector.h"
|
||||||
#include "mainResources.h"
|
#include "mainResources.h"
|
||||||
|
|
||||||
class IPC {
|
class IPC {
|
||||||
|
54
login.txt
54
login.txt
@ -1,28 +1,28 @@
|
|||||||
admin
|
admin
|
||||||
root
|
root
|
||||||
123123
|
123123
|
||||||
123456
|
123456
|
||||||
12345
|
12345
|
||||||
|
|
||||||
cisco
|
cisco
|
||||||
super
|
super
|
||||||
meinsm
|
meinsm
|
||||||
monitor
|
monitor
|
||||||
test
|
test
|
||||||
ftp
|
ftp
|
||||||
1234
|
1234
|
||||||
administrator
|
administrator
|
||||||
qwerty
|
qwerty
|
||||||
recovery
|
recovery
|
||||||
Polycom
|
Polycom
|
||||||
system
|
system
|
||||||
naadmin
|
naadmin
|
||||||
telecom
|
telecom
|
||||||
dreambox
|
dreambox
|
||||||
master
|
master
|
||||||
Admin
|
Admin
|
||||||
guest
|
guest
|
||||||
backup
|
backup
|
||||||
cgadmin
|
cgadmin
|
||||||
0000
|
0000
|
||||||
1111
|
1111
|
1792
negatives.txt
1792
negatives.txt
File diff suppressed because it is too large
Load Diff
@ -1246,7 +1246,7 @@ void nesca_3::switchDataFields()
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
void nesca_3::slotTabChanged(int index){
|
void nesca_3::slotTabChanged(int index){
|
||||||
if(index < 2) savedTabIndex = index;
|
if(index <= 2) savedTabIndex = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nesca_3::switchToJobMode()
|
void nesca_3::switchToJobMode()
|
||||||
@ -1919,7 +1919,7 @@ void nesca_3::IPScanSeq()
|
|||||||
{
|
{
|
||||||
if(ui->portLine->text() != "")
|
if(ui->portLine->text() != "")
|
||||||
{
|
{
|
||||||
saveOptions();
|
saveOptions();
|
||||||
ui->labelParsed_Value->setText("0/0");
|
ui->labelParsed_Value->setText("0/0");
|
||||||
ui->labelOffline_Value->setText("0");
|
ui->labelOffline_Value->setText("0");
|
||||||
stopFirst = false;
|
stopFirst = false;
|
||||||
@ -2004,7 +2004,7 @@ void nesca_3::DNSScanSeq()
|
|||||||
{
|
{
|
||||||
if(ui->lineEditPort->text() != "")
|
if(ui->lineEditPort->text() != "")
|
||||||
{
|
{
|
||||||
saveOptions();
|
saveOptions();
|
||||||
ui->labelParsed_Value->setText("0/0");
|
ui->labelParsed_Value->setText("0/0");
|
||||||
ui->labelOffline_Value->setText("0");
|
ui->labelOffline_Value->setText("0");
|
||||||
if(ui->lineEditStartIPDNS->text().indexOf(".") > 0)
|
if(ui->lineEditStartIPDNS->text().indexOf(".") > 0)
|
||||||
@ -2060,9 +2060,10 @@ void nesca_3::ImportScanSeq()
|
|||||||
tr("Files (*.txt)")
|
tr("Files (*.txt)")
|
||||||
);
|
);
|
||||||
else fileName = importFileName;
|
else fileName = importFileName;
|
||||||
|
|
||||||
if(fileName != "")
|
if(fileName != "")
|
||||||
{
|
{
|
||||||
saveOptions();
|
saveOptions();
|
||||||
ui->tabMainWidget->setTabEnabled(0, false);
|
ui->tabMainWidget->setTabEnabled(0, false);
|
||||||
ui->tabMainWidget->setTabEnabled(1, false);
|
ui->tabMainWidget->setTabEnabled(1, false);
|
||||||
|
|
||||||
|
@ -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 AnomC1 = 0, Filt = 0, Overl = 0, Lowl = 0, Alive = 0, saved = 0, Susp = 0, WF = 0, offlines = 0, ssh = 0;
|
||||||
int GlobalNegativeSize = 0;
|
int GlobalNegativeSize = 0;
|
||||||
int ipCounter = 0;
|
int ipCounter = 0;
|
||||||
int mode;
|
|
||||||
int found = 0, indexIP = 1;
|
int found = 0, indexIP = 1;
|
||||||
int gMode;
|
int gMode;
|
||||||
int MaxPass = 0, MaxLogin = 0, MaxTags = 0, MaxWFLogin = 0, MaxWFPass = 0, MaxSSHPass = 0;
|
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();
|
if(jsonArr == NULL) jsonArr = new QJsonArray();
|
||||||
|
|
||||||
QJsonObject jsonMeta;
|
QJsonObject jsonMeta;
|
||||||
if(mode == 0) jsonMeta.insert("mode", QJsonValue(QString("IP"))); //
|
if(gMode == 0) jsonMeta.insert("mode", QJsonValue(QString("IP"))); //
|
||||||
else if(mode == 1) jsonMeta.insert("mode", QJsonValue(QString("DNS"))); //Mode
|
else if (gMode == 1) jsonMeta.insert("mode", QJsonValue(QString("DNS"))); //Mode
|
||||||
else if(mode == -1) jsonMeta.insert("mode", QJsonValue(QString("Import"))); //
|
else if (gMode == -1) jsonMeta.insert("mode", QJsonValue(QString("Import"))); //
|
||||||
jsonMeta.insert("range", QJsonValue(QString(metaRange)) );
|
jsonMeta.insert("range", QJsonValue(QString(metaRange)) );
|
||||||
jsonMeta.insert("current", QJsonValue(QString(currentIP)) );
|
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("targets", QJsonValue(QString(metaTargets)) );
|
||||||
jsonMeta.insert("percent", QJsonValue(QString(metaPercent)) );
|
jsonMeta.insert("percent", QJsonValue(QString(metaPercent)) );
|
||||||
jsonMeta.insert("saved", QJsonValue(QString::number(saved)) );
|
jsonMeta.insert("saved", QJsonValue(QString::number(saved)) );
|
||||||
@ -1788,7 +1787,6 @@ int startScan(char* args) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
ParseArgs(argc, argv);
|
ParseArgs(argc, argv);
|
||||||
mode = gMode;
|
|
||||||
int resInit = fInit(gMode, gRange);
|
int resInit = fInit(gMode, gRange);
|
||||||
|
|
||||||
if (resInit == -1)
|
if (resInit == -1)
|
||||||
|
104
pass.txt
104
pass.txt
@ -1,53 +1,53 @@
|
|||||||
root
|
root
|
||||||
admin
|
admin
|
||||||
password
|
password
|
||||||
123456
|
123456
|
||||||
1234
|
1234
|
||||||
12345
|
12345
|
||||||
|
|
||||||
ADMIN
|
ADMIN
|
||||||
|
|
||||||
cisco
|
cisco
|
||||||
ftp
|
ftp
|
||||||
ROOT
|
ROOT
|
||||||
123123
|
123123
|
||||||
pass
|
pass
|
||||||
passwd
|
passwd
|
||||||
qwerty
|
qwerty
|
||||||
meinsm
|
meinsm
|
||||||
monitor
|
monitor
|
||||||
user
|
user
|
||||||
test
|
test
|
||||||
sysadm
|
sysadm
|
||||||
admin123
|
admin123
|
||||||
Admin
|
Admin
|
||||||
123321
|
123321
|
||||||
12344321
|
12344321
|
||||||
toor
|
toor
|
||||||
qwerty123
|
qwerty123
|
||||||
1q2w3e4r
|
1q2w3e4r
|
||||||
987654321
|
987654321
|
||||||
system
|
system
|
||||||
telecom
|
telecom
|
||||||
dreambox
|
dreambox
|
||||||
111111
|
111111
|
||||||
1111
|
1111
|
||||||
654321
|
654321
|
||||||
!@#$%^
|
!@#$%^
|
||||||
0000
|
0000
|
||||||
000000
|
000000
|
||||||
master
|
master
|
||||||
12345678
|
12345678
|
||||||
666666
|
666666
|
||||||
123123123
|
123123123
|
||||||
123454321
|
123454321
|
||||||
0123456789
|
0123456789
|
||||||
qqqqqq
|
qqqqqq
|
||||||
administrator
|
administrator
|
||||||
sys
|
sys
|
||||||
guest
|
guest
|
||||||
backup
|
backup
|
||||||
fujiyama
|
fujiyama
|
||||||
super
|
super
|
||||||
P@ssw0rd
|
P@ssw0rd
|
||||||
passw0rd
|
passw0rd
|
50
sshpass.txt
50
sshpass.txt
@ -1,26 +1,26 @@
|
|||||||
hw230f8034t:17932yhf823
|
hw230f8034t:17932yhf823
|
||||||
root:root
|
root:root
|
||||||
root:admin
|
root:admin
|
||||||
admin:admin
|
admin:admin
|
||||||
admin:root
|
admin:root
|
||||||
backup:backup
|
backup:backup
|
||||||
guest:guest
|
guest:guest
|
||||||
root:master
|
root:master
|
||||||
root:1234
|
root:1234
|
||||||
admin:master
|
admin:master
|
||||||
admin:111111
|
admin:111111
|
||||||
root:12345
|
root:12345
|
||||||
root:123456
|
root:123456
|
||||||
admin:1234
|
admin:1234
|
||||||
admin:12345
|
admin:12345
|
||||||
root:12345678
|
root:12345678
|
||||||
root:123123
|
root:123123
|
||||||
admin:123456
|
admin:123456
|
||||||
admin:12345678
|
admin:12345678
|
||||||
root:654321
|
root:654321
|
||||||
admin:123123
|
admin:123123
|
||||||
admin:654321
|
admin:654321
|
||||||
root:password
|
root:password
|
||||||
admin:pasword
|
admin:pasword
|
||||||
root:1qazXSW@
|
root:1qazXSW@
|
||||||
test:test
|
test:test
|
@ -1,3 +1,3 @@
|
|||||||
[FAIL]
|
[FAIL]
|
||||||
admin
|
admin
|
||||||
root
|
root
|
18
wfpass.txt
18
wfpass.txt
@ -1,10 +1,10 @@
|
|||||||
[FAIL]
|
[FAIL]
|
||||||
admin
|
admin
|
||||||
root
|
root
|
||||||
pass
|
pass
|
||||||
password
|
password
|
||||||
toor
|
toor
|
||||||
123123
|
123123
|
||||||
123456
|
123456
|
||||||
12345
|
12345
|
||||||
qwerty
|
qwerty
|
Loading…
Reference in New Issue
Block a user