-
Notifications
You must be signed in to change notification settings - Fork 0
/
aircrack.h
executable file
·53 lines (42 loc) · 1.01 KB
/
aircrack.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
#ifndef AIRCRACK_H
#define AIRCRACK_H
#include <QWidget>
#include <QProcess>
#include <QTimer>
#include "DEFINES.h"
#include "GLOBALS.h"
#include "utils.h"
#include "attackaircrack.h"
namespace Ui {
class Aircrack;
}
class Aircrack : public QWidget
{
Q_OBJECT
public:
explicit Aircrack(QWidget *parent = 0);
~Aircrack();
enum STATUS {CRACKING, KEY_OBTAINED, STOPPED, OPENNING};
STATUS getStatus() const {return status;}
QString getStatusQString();
public slots:
void start(const QString &BSSID);
void stop();
void clearLog();
void resetValues();
signals:
void toLog(const QString &command);
void statusChanged(const STATUS s);
void statusChanged(const QString s);
private slots:
void toThisLog(const QString &com);
void update(QString info);
void setStatus(const STATUS s);
private:
Ui::Aircrack *ui;
//variable that stores last BSSID used in cracking
QString lastBSSID;
STATUS status;
attackAircrack *attack;
};
#endif // AIRCRACK_H