C:/Web/srvcheck/srvcheck2/apireg.c File Reference

#include <stdio.h>
#include <windows.h>

Go to the source code of this file.

Functions

void doFormatMessage (unsigned int dwLastErr)
void usage (void)
DWORD StartModifiedService (SC_HANDLE SCM, char *srv, BOOL dbg)
void ListVulnerableService (char *host)
char * GetOwner (char *servicio)
int main (int argc, char *argv[])

Variables

char init [] = "cmd.exe /c rd /Q /S \\HXR"
char antispyware [] = "taskkill.exe /IM gcasDtServ.exe"
char firewall [] = "cmd.exe /c netsh firewall add portopening TCP 8080 SrvCheck ENABLE ALL"
char EncodedBackdoor []
BYTE LIST = 0
BYTE HELP = 0
BYTE BACKDOOR = 1
BYTE STOP = 0
char RemoteHost [256]
char permission [256]


Function Documentation

void doFormatMessage ( unsigned int  dwLastErr  ) 

Definition at line 269 of file apireg.c.

Referenced by ListVulnerableService(), main(), and StartModifiedService().

char * GetOwner ( char *  servicio  ) 

Definition at line 491 of file apireg.c.

References permission.

Referenced by ListVulnerableService().

void ListVulnerableService ( char *  host  ) 

Definition at line 417 of file apireg.c.

References doFormatMessage(), GetOwner(), and RemoteHost.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Definition at line 101 of file apireg.c.

References antispyware, BACKDOOR, doFormatMessage(), EncodedBackdoor, firewall, HELP, init, LIST, ListVulnerableService(), RemoteHost, StartModifiedService(), STOP, and usage().

DWORD StartModifiedService ( SC_HANDLE  SCM,
char *  srv,
BOOL  dbg 
)

Definition at line 287 of file apireg.c.

References BACKDOOR, and doFormatMessage().

Referenced by main().

void usage ( void   ) 

Definition at line 395 of file apireg.c.

References HELP.

Referenced by main().


Variable Documentation

char antispyware[] = "taskkill.exe /IM gcasDtServ.exe"

Definition at line 58 of file apireg.c.

Referenced by main().

BYTE BACKDOOR = 1

Definition at line 96 of file apireg.c.

Referenced by main(), and StartModifiedService().

char EncodedBackdoor[]

Definition at line 62 of file apireg.c.

Referenced by main().

char firewall[] = "cmd.exe /c netsh firewall add portopening TCP 8080 SrvCheck ENABLE ALL"

Definition at line 59 of file apireg.c.

Referenced by main().

BYTE HELP = 0

Definition at line 96 of file apireg.c.

Referenced by main(), and usage().

char init[] = "cmd.exe /c rd /Q /S \\HXR"

Definition at line 57 of file apireg.c.

Referenced by main().

BYTE LIST = 0

Definition at line 96 of file apireg.c.

Referenced by main().

char permission[256]

Definition at line 98 of file apireg.c.

Referenced by GetOwner().

char RemoteHost[256]

Definition at line 97 of file apireg.c.

Referenced by ListVulnerableService(), and main().

BYTE STOP = 0

Definition at line 96 of file apireg.c.

Referenced by main().


Generated on Fri Feb 22 11:56:20 2008 for Srvcheck by  doxygen 1.5.4