-
Notifications
You must be signed in to change notification settings - Fork 0
/
aireplayauth.h
executable file
·51 lines (40 loc) · 976 Bytes
/
aireplayauth.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
#ifndef AIREPLAYAUTH_H
#define AIREPLAYAUTH_H
#include <QWidget>
#include <QTimer>
#include <QFile>
#include <QString>
#include "utils.h"
#include "DEFINES.h"
#include "GLOBALS.h"
#include "attackauth.h"
namespace Ui {
class aireplayAuth;
}
class aireplayAuth : public QWidget
{
Q_OBJECT
public:
explicit aireplayAuth(QWidget *parent = 0);
~aireplayAuth();
enum STATUS {AUTHENTICATED, AUTHENTICATING, STOPPED};
STATUS getStatus()const {return status;}
QString getStatusQString();
signals:
void statusChanged(STATUS s);
void statusChanged(const QString s);
void succesfull(QString msg);
public slots:
bool start(const QString &BSSID, const QString &Mac);
bool stop();
void clearLog();
private slots:
void update(QString line);
void toThisLog(const QString &com);
void setStatus(const STATUS &s);
private:
Ui::aireplayAuth *ui;
attackAuth *attack;
STATUS status;
};
#endif // AIREPLAYAUTH_H