forked from zouxianyu/KernelHiddenExecute
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathControlPanel.h
More file actions
52 lines (46 loc) · 1.2 KB
/
Copy pathControlPanel.h
File metadata and controls
52 lines (46 loc) · 1.2 KB
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
#pragma once
#pragma execution_character_set("utf-8")
#include <QtWidgets/QWidget>
#include <QPushButton>
#include <QDebug>
#include <QCloseEvent>
#include <QMessageBox>
#include <QDir>
#include "ui_ControlPanel.h"
#include "dlcommon.h"
#include "dlservices.h"
#include "dldrivers.h"
#include "dlioctl.h"
class ControlPanel : public QWidget
{
Q_OBJECT
public:
ControlPanel(QWidget *parent = Q_NULLPTR);
public slots:
void initialize();
void attack();
void normalProcedure();
void protectedProcedure();
protected:
void closeEvent(QCloseEvent * event);
private:
Ui::ControlPanelClass ui;
bool initialized;
//bool isSafeProcExecuted1;
//bool isUnsafeProcExecuted1;
//bool isAttacked;
//bool isSafeProcExecuted2;
//bool isUnsafeProcExecuted2;
QString protectedServiceName;
QString protectedServiceDisplayName;
QString protectedDriverPath;
QString protectedDeviceName;
ProtectedDriverControl protectedDriverControl;
QString malwareServiceName;
QString malwareServiceDisplayName;
QString malwareDriverPath;
QString malwareDeviceName;
MalwareDriverControl malwareDriverControl;
bool loadDriver(QString driverPath, QString serviceName, QString serviceDisplayName);
bool unloadDriver(QString serviceName);
};