-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaireplaybroadcast.h
executable file
·53 lines (42 loc) · 1.05 KB
/
aireplaybroadcast.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 AIREPLAYBROADCAST_H
#define AIREPLAYBROADCAST_H
#include <QWidget>
#include <QProcess>
#include <QString>
#include <QTimer>
#include "DEFINES.h"
#include "GLOBALS.h"
#include "utils.h"
#include "attackbroadcast.h"
namespace Ui {
class aireplayBroadcast;
}
class aireplayBroadcast : public QWidget
{
Q_OBJECT
public:
explicit aireplayBroadcast(QWidget *parent = 0);
~aireplayBroadcast();
enum STATUS {READING, SENDING, STOPPED};
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(const QString &BSSID, QString MAC);
void stop();
void clearLog();
void resetValues();
private slots:
void toThisLog(QString com);
void setStatus(STATUS s);
void update(QString line);
private:
Ui::aireplayBroadcast *ui;
attackBroadcast *attack;
STATUS status; //READING, SENDING, STOPPED
};
#endif // AIREPLAYBROADCAST_H