cobf
PE imports obfuscator
shellcode Class Reference

#include <shellcode.hpp>

Static Public Attributes

static PVOID shellcode_start = exit
 
static DWORD shellcode_entry = (DWORD)((PBYTE)load_syms - (PBYTE)shellcode_start)
 
static DWORD shellcode_size = (DWORD)((PBYTE)funs_end - (PBYTE)shellcode_start)
 
static DWORD shellcodes_funs [shellcode_number_of_functions]
 

Friends

class cobf
 

Detailed Description

Definition at line 29 of file shellcode.hpp.

Friends And Related Function Documentation

◆ cobf

friend class cobf
friend

Definition at line 32 of file shellcode.hpp.

Member Data Documentation

◆ shellcode_entry

DWORD shellcode::shellcode_entry = (DWORD)((PBYTE)load_syms - (PBYTE)shellcode_start)
static

Offset from the start for the entry of the shellcode.

Definition at line 249 of file shellcode.hpp.

◆ shellcode_size

DWORD shellcode::shellcode_size = (DWORD)((PBYTE)funs_end - (PBYTE)shellcode_start)
static

Size of the shellcode. Table holding the offsets of the shellcode functions.

Definition at line 250 of file shellcode.hpp.

◆ shellcode_start

PVOID shellcode::shellcode_start = exit
static

Start of the raw shellcode to be copied.

Definition at line 248 of file shellcode.hpp.

◆ shellcodes_funs

DWORD shellcode::shellcodes_funs
static
Initial value:
=
{
(DWORD)((PBYTE)exit - (PBYTE)shellcode_start),
(DWORD)((PBYTE)wstr_len - (PBYTE)shellcode_start),
(DWORD)((PBYTE)hash_string - (PBYTE)shellcode_start),
(DWORD)((PBYTE)str_cpy - (PBYTE)shellcode_start),
(DWORD)((PBYTE)str_toi - (PBYTE)shellcode_start),
(DWORD)((PBYTE)str_chr - (PBYTE)shellcode_start),
(DWORD)((PBYTE)ansi_to_wide - (PBYTE)shellcode_start),
(DWORD)((PBYTE)wstr_cpy - (PBYTE)shellcode_start),
(DWORD)((PBYTE)wstr_i_cmp - (PBYTE)shellcode_start),
(DWORD)((PBYTE)get_dll_handle - (PBYTE)shellcode_start),
(DWORD)((PBYTE)load_dll - (PBYTE)shellcode_start),
(DWORD)((PBYTE)resolve_api_set - (PBYTE)shellcode_start),
(DWORD)((PBYTE)get_symbol_ptr - (PBYTE)shellcode_start),
(DWORD)((PBYTE)load_syms - (PBYTE)shellcode_start)
}

Definition at line 253 of file shellcode.hpp.


The documentation for this class was generated from the following files:
shellcode::shellcode_start
static PVOID shellcode_start
Definition: shellcode.hpp:248