| Trees | Indices | Help |
|
|---|
|
|
(c) Immunity, Inc. 2004-2007
Immunity Inc. pelib
Proprietary CANVAS source code - use only under the license agreement specified in LICENSE.txt in your CANVAS distribution Copyright Immunity, Inc, 2002-2007 http://www.immunityinc.com/CANVAS/ for more information
|
|||
| PEError | ||
| MZ | ||
| ImageImportByName | ||
| ImportDescriptor | ||
| Directory | ||
| ImageExportDirectory | ||
| Section | ||
| IMGhdr | ||
| IMGOPThdr | ||
| PE | ||
| PElib | ||
|
|||
| hexdump(buf) | ||
| readStringFromFile(fd, offset) | ||
| usage(name) | ||
|
|||
|
__VERSION__ = '1.0'
|
||
|
IMAGE_SIZEOF_FILE_HEADER = 20
|
||
|
MZ_MAGIC = 23117
|
||
|
PE_MAGIC = 17744
|
||
|
IMAGE_NUMBEROF_DIRECTORY_ENTRIES = 16
|
||
|
IMAGE_ORDINAL_FLAG = 2147483648L
|
||
|
args = sys.argv [1:]
|
||
|
OPEN = 0x1
|
||
|
WRITE = 0x2
|
||
|
EXAMPLE = 0x3
|
||
|
p = PElib()
|
||
|
what = 0
|
||
|
file = ""
|
||
|
shellcode = p.createShellcode()
|
||
|
imports = [("advapi32.dll", ["RevertToSelf", "AccessCheck"]), ...
|
||
|
vars = {}
|
||
|
code = """ //start of code #import "remote", "kernel32.dll|...
|
||
|
|||
|
|
|
|
|||
__VERSION__None
|
IMAGE_SIZEOF_FILE_HEADERNone
|
MZ_MAGICNone
|
PE_MAGICNone
|
IMAGE_NUMBEROF_DIRECTORY_ENTRIESNone
|
IMAGE_ORDINAL_FLAGNone
|
argsNone
|
OPENNone
|
WRITENone
|
EXAMPLENone
|
pNone
|
whatNone
|
fileNone
|
shellcodeNone
|
importsNone
|
varsNone
|
codeNone
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Thu May 29 13:03:06 2008 | http://epydoc.sourceforge.net |