Xeno-rat
Loading...
Searching...
No Matches
xeno_rat_server.IconInjector Class Reference
Collaboration diagram for xeno_rat_server.IconInjector:

Classes

struct  BITMAPINFOHEADER
 
struct  GRPICONDIRENTRY
 
struct  ICONDIR
 
struct  ICONDIRENTRY
 
class  IconFile
 
class  NativeMethods
 

Static Public Member Functions

static void InjectIcon (string exeFileName, string iconFileName)
 Injects an icon into the specified executable file.
 
static void InjectIcon (string exeFileName, string iconFileName, uint iconGroupID, uint iconBaseID)
 

Member Function Documentation

◆ InjectIcon() [1/2]

static void xeno_rat_server.IconInjector.InjectIcon ( string exeFileName,
string iconFileName )
inlinestatic

Injects an icon into the specified executable file.

Parameters
exeFileNameThe path of the executable file to which the icon will be injected.
iconFileNameThe path of the icon file to be injected.
iconGroupIDThe ID of the icon group within the executable file.
iconBaseIDThe base ID of the icon within the group.
Exceptions
IconFileExceptionThrown when there is an issue with the icon file.
ResourceUpdateExceptionThrown when there is an issue with updating the resource in the executable file.
Here is the caller graph for this function:

◆ InjectIcon() [2/2]

static void xeno_rat_server.IconInjector.InjectIcon ( string exeFileName,
string iconFileName,
uint iconGroupID,
uint iconBaseID )
inlinestatic
Here is the call graph for this function:

The documentation for this class was generated from the following file: