-
Notifications
You must be signed in to change notification settings - Fork 0
/
aireplaychopchop.h
executable file
·61 lines (49 loc) · 1.15 KB
/
aireplaychopchop.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef CHOPCHOP_H
#define CHOPCHOP_H
#include <QWidget>
#include <QProcess>
#include <QString>
#include <QTimer>
#include "DEFINES.h"
#include "GLOBALS.h"
#include "utils.h"
#include "aireplayarpreplay.h"
#include "attackchopchop.h"
namespace Ui {
class chopChop;
}
class aireplayChopChop : public QWidget
{
Q_OBJECT
public:
explicit aireplayChopChop(QWidget *parent = 0);
~aireplayChopChop();
enum STATUS {ATTACKING, STOPPED, OBTAINED};
STATUS getStatus()const {return status;}
QString getStatusQString();
signals:
void toLog(QString com);
void statusChanged(STATUS s);
void succesfull(QString msg);
void statusChanged(const QString s);
public slots:
bool start(QString BSSID, QString MAC);
void stop();
void clearLog();
void resetValues();
private slots:
void toThisLog(QString com);
void setStatus(STATUS s);
void update(QString line);
void injectPaquet();
private:
Ui::chopChop *ui;
aireplayArpReplay *arpReplay;
attackChopChop *attack;
STATUS status;
QString lastBSSID;
QString lastMAC;
QString lastDecryptedCap;
QString lastXor;
};
#endif // CHOPCHOP_H