Difference between revisions of "Auto Assembler:Commands"
Jump to navigation
Jump to search
m |
m (→Auto Assembler Commands) |
||
Line 24: | Line 24: | ||
* [[Auto_Assembler:include|include]]: Includes another auto assembler file at that spot | * [[Auto_Assembler:include|include]]: Includes another auto assembler file at that spot | ||
* [[Auto_Assembler:createThread|createThread]]: Will spawn a thread in the process at the specified address | * [[Auto_Assembler:createThread|createThread]]: Will spawn a thread in the process at the specified address | ||
− | * [[Auto_Assembler: | + | * [[Auto_Assembler:createThreadAndWait|createThreadAndWait]]: Will spawn a thread in the process at the specified address and waits till it returns |
* [[Auto_Assembler:loadLibrary|loadLibrary]]: Will inject the specified dll into the target process | * [[Auto_Assembler:loadLibrary|loadLibrary]]: Will inject the specified dll into the target process | ||
* [[Auto_Assembler:loadBinary|loadBinary]]: Will load a binary file at the specified address | * [[Auto_Assembler:loadBinary|loadBinary]]: Will load a binary file at the specified address |
Latest revision as of 14:48, 22 April 2022
Auto Assembler Commands[edit]
This is a list of all the Auto Assembler commands:
- aobScan: Will scan the memory for the given array of bytes (wildcards are supported) and places a label at the first match
- aobScanModule: Will scan the specific module for the given array of bytes (wildcards are supported) and places a label at the first match
- aobScanRegion: Will scan the specific range for the given array of bytes (wildcards are supported) and places a label at the first match
- label: Enables the word labelname to be used as an address
- alloc: Allocates a region of memory with a label that points to it
- dealloc: Deallocates a block of memory allocated with alloc
- globalAlloc: Will allocate a certain amount of memory and registers the specified name
- kAlloc: Kernal allocate
- fullAccess: Makes a memory region readable, writable and executable
- reassemble: Reassembles the given address, writing at it's declared location.
- readMem: Read a memory region and writes it at the location this instruction is placed
- registerSymbol: Adds the symbol to the userdefined symbol list
- unregisterSymbol: Removes the symbol from the userdefined symbol list
- define: Will replace all tokens with the specified name with the text of whatever
- assert: Will check the memory address for the given bytes
- include: Includes another auto assembler file at that spot
- createThread: Will spawn a thread in the process at the specified address
- createThreadAndWait: Will spawn a thread in the process at the specified address and waits till it returns
- loadLibrary: Will inject the specified dll into the target process
- loadBinary: Will load a binary file at the specified address
- struct / endStruct: With STRUCT and ENDSTRUCT you can define an internal structure in your auto assembler script
- luaCall: Executes the given Lua code
- {$LUA} / {$ASM}: {$LUA} (Lua) and {$ASM} (Assembler) will begin the chosen parser
- {$STRICT}: {$STRICT} will force label declaration, by throwing an error
- align: Tells the assembler to align for a given byte size.
- {$TRY} / {$EXCEPT}: Code between {$TRY} and {$EXCEPT} blocks will jump to the {$EXCEPT} part when an exception happens
- {$LUACODE} / {$ASM}: Execute the given Lua code inside CE's context whenever the target process executes this code
- {$CCODE} / {$ASM}: Execute the given C code inside the target's context whenever the target process executes this code
- {$C} / {$ASM}: Compile the given code within the C block inside the target process