C# Class PacketEditor.Main

Afficher le fichier Open project: appsec-labs/Advanced_Packet_Editor Class Usage Examples

Méthodes publiques

Méthode Description
Main ( ) : System
ProcessExited ( ) : void
Start ( ) : void
UpdateMainGrid ( byte data ) : void
UpdateTree ( byte data ) : void
writepipe ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ListenerCallback ( IAsyncResult result ) : void
ProcessRequest ( System Context ) : void

Overridable method that can be used to implement a custom handler

Private Methods

Méthode Description
AdjustTokenPrivileges ( IntPtr TokenHandle, [ DisableAllPrivileges, TOKEN_PRIVILEGES &NewState, UInt32 Zero, IntPtr Null1, IntPtr Null2 ) : bool
ArraysEqual ( byte a1, byte a2 ) : bool
Attach ( int pID, string Path ) : bool
CloseHandle ( IntPtr hHandle ) : bool
CreateFile ( ) : string
CreateRemoteThread ( IntPtr hProcess, IntPtr lpThreadAttributes, uint dwStackSize, IntPtr lpStartAddress, IntPtr lpParameter, uint dwCreationFlags, IntPtr lpThreadId ) : IntPtr
GetCurrentProcess ( ) : IntPtr
GetModuleHandle ( string lpModuleName ) : IntPtr
GetProcAddress ( IntPtr hModule, string procName ) : IntPtr
InitializeComponent ( ) : void

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

LookupPrivilegeValue ( string lpSystemName, string lpName, LUID &lpLuid ) : bool
MIReplay_Click ( object sender, EventArgs e ) : void
MnuToolsProxy_Click ( object sender, EventArgs e ) : void
OpenProcess ( ProcessAccessFlags dwDesiredAccess, [ bInheritHandle, int dwProcessId ) : IntPtr
OpenProcessToken ( IntPtr ProcessHandle, UInt32 DesiredAccess, IntPtr &TokenHandle ) : bool
PipeRead ( ) : void
UpdateText ( ) : void
VirtualAllocEx ( IntPtr hProcess, IntPtr lpAddress, uint dwSize, AllocationType flAllocationType, MemoryProtection flProtect ) : IntPtr
WriteProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, byte lpBuffer, uint nSize, int &lpNumberOfBytesWritten ) : bool
activateExtenalFilter ( ) : void
addyporttosockaddy ( string s, Glob sa ) : Glob.sockaddr_in
bytestoaddy ( byte bytes ) : string
bytestohexstring ( byte bytes ) : string
closeExternalFilter ( ) : void
copyForListenerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dgridMain_CellContentClick ( object sender, DataGridViewCellEventArgs e ) : void
dgridMain_CellDoubleClick ( object sender, DataGridViewCellEventArgs e ) : void
dgridMain_RowsAdded ( object sender, DataGridViewRowsAddedEventArgs e ) : void
filtersToolStripMenuItem_Click ( object sender, EventArgs e ) : void
frmMain_Activated ( object sender, EventArgs e ) : void
frmMain_Deactivate ( object sender, EventArgs e ) : void
frmMain_FormClosing ( object sender, FormClosingEventArgs e ) : void
frmMain_Load ( object sender, EventArgs e ) : void
frmMain_Resize ( object sender, EventArgs e ) : void
hexaddyporttosockaddy ( string s, Glob sa ) : Glob.sockaddr_in
hexstringtoaddy ( string s ) : string
hexstringtobyte ( string s ) : byte[]
icoNotify_DoubleClick ( object sender, EventArgs e ) : void
injectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
invokeDLL ( ) : bool
listen ( ) : void
mnuAPIClear_Click ( object sender, EventArgs e ) : void
mnuDNSClear_Click ( object sender, EventArgs e ) : void
mnuFileAttach_Click ( object sender, EventArgs e ) : void
mnuFileDetach_Click ( object sender, EventArgs e ) : void
mnuFileExit_Click ( object sender, EventArgs e ) : void
mnuFileOpen_Click ( object sender, EventArgs e ) : void
mnuHelpHelp_Click ( object sender, EventArgs e ) : void
mnuHelpWebsite_Click ( object sender, EventArgs e ) : void
mnuInvokeFreeze_Click ( object sender, EventArgs e ) : void
mnuMsgClear_Click ( object sender, EventArgs e ) : void
mnuMsgCopyASCII_Click ( object sender, EventArgs e ) : void
mnuMsgCopyHex_Click ( object sender, EventArgs e ) : void
mnuMsgReplay_Click ( object sender, EventArgs e ) : void
mnuMsgSocketClose_Click ( object sender, EventArgs e ) : void
mnuMsgSocketSDboth_Click ( object sender, EventArgs e ) : void
mnuMsgSocketSDrecv_Click ( object sender, EventArgs e ) : void
mnuMsgSocketSDsend_Click ( object sender, EventArgs e ) : void
mnuNotifyExit_Click ( object sender, EventArgs e ) : void
mnuOptionsOntop_CheckedChanged ( object sender, EventArgs e ) : void
mnuToolsExternalFilter ( ) : int
mnuToolsFilter_CheckedChanged ( object sender, EventArgs e ) : void
mnuToolsFilters_Click ( object sender, EventArgs e ) : void
mnuToolsMonitor_CheckedChanged ( object sender, EventArgs e ) : void
mnuToolsSockets_Click ( object sender, EventArgs e ) : void
reAttachToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showToolStripMenuItem_CheckedChanged ( object sender, EventArgs e ) : void
showrecvRecvAllToolStripMenuItem_CheckedChanged ( object sender, EventArgs e ) : void
timerPython_Tick ( object sender, EventArgs e ) : void
toolToggleFilter_Click ( object sender, EventArgs e ) : void
trimzeros ( byte bytes ) : byte[]

Method Details

Dispose() protected méthode

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

ListenerCallback() protected méthode

protected ListenerCallback ( IAsyncResult result ) : void
result IAsyncResult
Résultat void

Main() public méthode

public Main ( ) : System
Résultat System

ProcessExited() public méthode

public ProcessExited ( ) : void
Résultat void

ProcessRequest() protected méthode

Overridable method that can be used to implement a custom handler
protected ProcessRequest ( System Context ) : void
Context System
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

UpdateMainGrid() public méthode

public UpdateMainGrid ( byte data ) : void
data byte
Résultat void

UpdateTree() public méthode

public UpdateTree ( byte data ) : void
data byte
Résultat void

writepipe() public méthode

public writepipe ( ) : void
Résultat void