-
Notifications
You must be signed in to change notification settings - Fork 0
/
reaver.h
executable file
·49 lines (36 loc) · 858 Bytes
/
reaver.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
#ifndef REAVER_H
#define REAVER_H
#include <QWidget>
#include "attackreaver.h"
namespace Ui {
class reaver;
}
class reaver : public QWidget
{
Q_OBJECT
public:
explicit reaver(QWidget *parent = 0);
~reaver();
enum STATUS {RUNNING, STOPPED, OBTAINED};
STATUS getStatus() const {return status;}
QString getStatusQString();
signals:
void statusChanged(STATUS s);
void statusChanged(const QString s);
public slots:
bool start(const QString &bssid);
bool stop();
void toReaverLog(const QString &info){toThisLog(info);}
private slots:
void update(QString line);
void setStatus(const STATUS &s);
void toThisLog(const QString &info);
void clearLog();
private:
attackReaver *attack;
Ui::reaver *ui;
STATUS status;
QString pinKey;
QString lastBSSID;
};
#endif // REAVER_H