C# 클래스 Fuzzer.RemoteControl.RemoteControlProtocol

상속: IDisposable
파일 보기 프로젝트 열기: areiter/InMemoryFuzzing 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
RegisterHandler ( string receiver, HandlerCallbackDelegate handlerCallback ) : void
RemoteControlProtocol ( ) : System
RemoteEcho ( string echoString ) : void
RemoteExec ( string name, string path, IList arguments, IList environment ) : void

Starts the specified application (path) on the remote path

RemoteProcesses ( ) : void

Requests the remote running processes

RemoteRequestPipe ( string pipeName ) : void

Opens a remote pipe and sends all received data

SendCommand ( RemoteCommand cmd ) : void
SetConnection ( Stream conn ) : void

비공개 메소드들

메소드 설명
CBRead ( IAsyncResult ar ) : void
FindFirstOccurance ( int startIndex, byte data ) : int?

Finds the first occurance of data in the buffer

GetPipeName ( int pipeId ) : string
HandlerExecStatus ( string receiver, byte data ) : void
HandlerPipeClosed ( string receiver, byte data ) : void
HandlerPipeData ( string receiver, byte data ) : void

Pipe data was sent

HandlerRegisteredPipe ( string receiver, byte data ) : void

And pipe request was sent. This assigns a unique id to the requested pipe

HandlerRemoteProcesses ( string receiver, byte data ) : void
ProcessBuffer ( ) : void

Extracts and removes complete received packets from the buffer

RaiseExecStatus ( string name, int pid, int status ) : void
RaisePipeClosed ( int pipeId ) : void
RaisePipeData ( int pipeId, byte pipeData, int index, int offset ) : void
RaisePipeOpened ( int pipeId ) : void
RaiseRemoteProcessInfo ( RemoteProcessInfo remoteProcesses ) : void
SendPacket ( string receiver, byte data ) : void
StartReading ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

RegisterHandler() 공개 메소드

public RegisterHandler ( string receiver, HandlerCallbackDelegate handlerCallback ) : void
receiver string
handlerCallback HandlerCallbackDelegate
리턴 void

RemoteControlProtocol() 공개 메소드

public RemoteControlProtocol ( ) : System
리턴 System

RemoteEcho() 공개 메소드

public RemoteEcho ( string echoString ) : void
echoString string
리턴 void

RemoteExec() 공개 메소드

Starts the specified application (path) on the remote path
public RemoteExec ( string name, string path, IList arguments, IList environment ) : void
name string Name can be chosen freely and is always used when this program instance is referenced
path string Path to start
arguments IList Arguments to pass to the application
environment IList Environment variables to set in the form variable=value
리턴 void

RemoteProcesses() 공개 메소드

Requests the remote running processes
public RemoteProcesses ( ) : void
리턴 void

RemoteRequestPipe() 공개 메소드

Opens a remote pipe and sends all received data
public RemoteRequestPipe ( string pipeName ) : void
pipeName string
리턴 void

SendCommand() 공개 메소드

public SendCommand ( RemoteCommand cmd ) : void
cmd RemoteCommand
리턴 void

SetConnection() 공개 메소드

public SetConnection ( Stream conn ) : void
conn Stream
리턴 void