-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathUnShell.h
More file actions
36 lines (31 loc) · 720 Bytes
/
UnShell.h
File metadata and controls
36 lines (31 loc) · 720 Bytes
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
#pragma once
#ifndef UNSHELL_H_
#define UNSHELL_H_
#include "stdafx.h"
class UnShell
{
public:
UnShell();
~UnShell();
public:
void puRepCompressionData(){ this->RepCompressionData(); }
void puDeleteSectionInfo(){ this->DeleteSectionInfo(); }
BOOL puSaveUnShell(){ return this->SaveUnShell(); }
private:
BOOL RepCompressionData();
BOOL DeleteSectionInfo();
BOOL SaveUnShell();
private:
void* m_Base = nullptr;
void* m_NtAddress = nullptr;
HANDLE hFile = nullptr;
void* m_studBase = nullptr;
PIMAGE_DOS_HEADER pDosHander;
PIMAGE_NT_HEADERS pHeadres;
PIMAGE_SECTION_HEADER pSection;
char* UnShellNewFile = nullptr;
DWORD TotaldwSize = 0;
char* Sectionbuf = nullptr;
FILE *fpFile = nullptr;
};
#endif