C# Class ME3Explorer.DLLInjector.DLLInjector

Exibir arquivo Open project: ME3Explorer/ME3Explorer

Public Properties

Property Type Description
CurrentMD5 string
IDs List
Offsets List
ProcessPath string
SelectedID int
client TcpClient

Public Methods

Method Description
CreateClient ( ) : void
CreateConf ( ) : bool
DLLInjector ( ) : System
GetMD5 ( string fileName ) : string
InjectDLL ( IntPtr hProcess, string strDLLName ) : void
Println ( string s ) : void
ReadOffsets ( ) : void
RefreshList ( ) : void
SendCommand ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CloseHandle ( IntPtr hObject ) : Int32
CreateRemoteThread ( IntPtr hProcess, IntPtr lpThreadAttributes, uint dwStackSize, UIntPtr lpStartAddress, IntPtr lpParameter, uint dwCreationFlags, IntPtr &lpThreadId ) : IntPtr
DLLInjector_Load ( object sender, EventArgs e ) : void
DLLInjector_Resize ( object sender, EventArgs e ) : void
GetModuleHandle ( string lpModuleName ) : IntPtr
GetProcAddress ( IntPtr hModule, string procName ) : UIntPtr
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Listener ( object sender, DoWorkEventArgs e ) : void
OpenProcess ( UInt32 dwDesiredAccess, Int32 bInheritHandle, Int32 dwProcessId ) : IntPtr
VirtualAllocEx ( IntPtr hProcess, IntPtr lpAddress, uint dwSize, uint flAllocationType, uint flProtect ) : IntPtr
VirtualFreeEx ( IntPtr hProcess, IntPtr lpAddress, UIntPtr dwSize, uint dwFreeType ) : bool
WaitForSingleObject ( IntPtr handle, Int32 milliseconds ) : Int32
WriteProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, string lpBuffer, UIntPtr nSize, IntPtr &lpNumberOfBytesWritten ) : bool
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
textBox2_KeyPress ( object sender, KeyPressEventArgs e ) : void

Method Details

CreateClient() public method

public CreateClient ( ) : void
return void

CreateConf() public method

public CreateConf ( ) : bool
return bool

DLLInjector() public method

public DLLInjector ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetMD5() public method

public GetMD5 ( string fileName ) : string
fileName string
return string

InjectDLL() public method

public InjectDLL ( IntPtr hProcess, string strDLLName ) : void
hProcess IntPtr
strDLLName string
return void

Println() public method

public Println ( string s ) : void
s string
return void

ReadOffsets() public method

public ReadOffsets ( ) : void
return void

RefreshList() public method

public RefreshList ( ) : void
return void

SendCommand() public method

public SendCommand ( ) : void
return void

Property Details

CurrentMD5 public_oe property

public string CurrentMD5
return string

IDs public_oe property

public List IDs
return List

Offsets public_oe property

public List Offsets
return List

ProcessPath public_oe property

public string ProcessPath
return string

SelectedID public_oe property

public int SelectedID
return int

client public_oe property

public TcpClient client
return TcpClient