C:/Web/pinjector/Process Injector/pinjector.h File Reference

#include <stdio.h>
#include <winsock2.h>
#include <Winbase.h>
#include <process.h>
#include <Tlhelp32.h>

Go to the source code of this file.

Data Structures

struct  _parametros
struct  _OWNER

Typedefs

typedef struct sockaddr * name
typedef struct sockaddr int namelen
typedef struct sockaddr * addr
typedef struct sockaddr int * addrlen
typedef int backlog
typedef LPWSADATA lpWSAData
typedef int type
typedef int int protocol
typedef int int LPWSAPROTOCOL_INFO lpProtocolInfo
typedef int int
LPWSAPROTOCOL_INFO GROUP 
g
typedef int int
LPWSAPROTOCOL_INFO GROUP DWORD 
dwFlags
typedef struct sockaddr int
LPWSABUF 
lpCallerData
typedef struct sockaddr int
LPWSABUF LPWSABUF 
lpCalleeData
typedef struct sockaddr int
LPWSABUF LPWSABUF LPQOS 
lpSQOS
typedef struct sockaddr int
LPWSABUF LPWSABUF LPQOS LPQOS 
lpGQOS
typedef LPTSTR lpCommandLine
typedef LPTSTR
LPSECURITY_ATTRIBUTES 
lpProcessAttributes
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES 
lpThreadAttributes
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES BOOL 
bInheritHandles
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES BOOL
DWORD 
dwCreationFlags
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES BOOL
DWORD LPVOID 
lpEnvironment
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES BOOL
DWORD LPVOID LPCTSTR 
lpCurrentDirectory
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES BOOL
DWORD LPVOID LPCTSTR
LPSTARTUPINFO 
lpStartupInfo
typedef LPTSTR
LPSECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES BOOL
DWORD LPVOID LPCTSTR
LPSTARTUPINFO
LPPROCESS_INFORMATION 
lpProcessInformation
typedef HMODULE(WINAPI * LOADLIBRARY )(LPCTSTR lpFileName)
typedef LPCSTR lpProcName
typedef struct _parametros PARAMETROS
typedef struct _OWNER OWNER

Functions

typedef int (WINAPI *BIND)(SOCKET s
typedef SOCKET (WINAPI *ACCEPT)(SOCKET s
typedef BOOL (WINAPI *CREATEPROCESS)(LPCTSTR lpApplicationName
typedef FARPROC (WINAPI *GETPROCADDRESS)(HMODULE hModule
void __stdcall shell (PARAMETROS *)
int EnableDebugPriv (HANDLE proceso, LPCTSTR lpName)
void doFormatMessage (unsigned int dwLastErr)


Typedef Documentation

typedef struct sockaddr* addr

Definition at line 25 of file pinjector.h.

typedef struct sockaddr int* addrlen

Definition at line 25 of file pinjector.h.

typedef int backlog

Definition at line 26 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES BOOL bInheritHandles

Definition at line 31 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES BOOL DWORD dwCreationFlags

Definition at line 31 of file pinjector.h.

typedef int int LPWSAPROTOCOL_INFO GROUP DWORD dwFlags

Definition at line 28 of file pinjector.h.

typedef int int LPWSAPROTOCOL_INFO GROUP g

Definition at line 28 of file pinjector.h.

typedef HMODULE(WINAPI * LOADLIBRARY)(LPCTSTR lpFileName)

Definition at line 34 of file pinjector.h.

typedef struct sockaddr int LPWSABUF LPWSABUF lpCalleeData

Definition at line 29 of file pinjector.h.

typedef struct sockaddr int LPWSABUF lpCallerData

Definition at line 29 of file pinjector.h.

typedef LPTSTR lpCommandLine

Definition at line 31 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES BOOL DWORD LPVOID LPCTSTR lpCurrentDirectory

Definition at line 31 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES BOOL DWORD LPVOID lpEnvironment

Definition at line 31 of file pinjector.h.

typedef struct sockaddr int LPWSABUF LPWSABUF LPQOS LPQOS lpGQOS

Definition at line 29 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES lpProcessAttributes

Definition at line 31 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES BOOL DWORD LPVOID LPCTSTR LPSTARTUPINFO LPPROCESS_INFORMATION lpProcessInformation

Definition at line 31 of file pinjector.h.

typedef LPCSTR lpProcName

Definition at line 35 of file pinjector.h.

typedef int int LPWSAPROTOCOL_INFO lpProtocolInfo

Definition at line 28 of file pinjector.h.

typedef struct sockaddr int LPWSABUF LPWSABUF LPQOS lpSQOS

Definition at line 29 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES BOOL DWORD LPVOID LPCTSTR LPSTARTUPINFO lpStartupInfo

Definition at line 31 of file pinjector.h.

typedef LPTSTR LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES lpThreadAttributes

Definition at line 31 of file pinjector.h.

typedef LPWSADATA lpWSAData

Definition at line 27 of file pinjector.h.

typedef struct sockaddr * name [read]

Definition at line 24 of file pinjector.h.

typedef struct sockaddr int namelen [read]

Definition at line 24 of file pinjector.h.

typedef struct _OWNER OWNER

typedef struct _parametros PARAMETROS

typedef int int protocol

Definition at line 28 of file pinjector.h.

typedef int type

Definition at line 28 of file pinjector.h.


Function Documentation

typedef BOOL ( WINAPI *  CREATEPROCESS  ) 

Referenced by main().

void doFormatMessage ( unsigned int  dwLastErr  ) 

Definition at line 224 of file pinjector.c.

Referenced by main().

int EnableDebugPriv ( HANDLE  proceso,
LPCTSTR  lpName 
)

Definition at line 22 of file pinjector.c.

Referenced by main().

typedef FARPROC ( WINAPI *  GETPROCADDRESS  ) 

typedef int ( WINAPI *  BIND  ) 

void __stdcall shell ( PARAMETROS  ) 

Definition at line 45 of file pinjector.c.

References _parametros::acceptstring, _parametros::bindstring, _parametros::cmd, _parametros::CreateProcessstring, _parametros::KernelCreateProcess, _parametros::KernelGetProcAddress, _parametros::KernelHandle, _parametros::KernelLoadLibrary, _parametros::kernelstring, _parametros::listenstring, _parametros::port, _parametros::ShellAccept, _parametros::ShellBind, _parametros::ShellListen, _parametros::ShellWsaConnect, _parametros::ShellWSASocket, _parametros::ShellWsaStartup, _parametros::WSAConnectstring, _parametros::WSAHandle, _parametros::WSASocketString, _parametros::wsastartupstring, and _parametros::wsastring.

Referenced by main().

typedef SOCKET ( WINAPI *  ACCEPT  ) 


Generated on Fri Feb 22 12:34:08 2008 for Process Injector by  doxygen 1.5.4