File names changed

This commit is contained in:
EgeBalci
2018-01-25 15:12:14 +03:00
parent 2877f62527
commit 0c8ea985fd
9 changed files with 6 additions and 6 deletions
@@ -34,7 +34,7 @@ IAT_API: ;
jz OpEnd ; If VirtualAlloc fails don't bother :/
push eax ; Save the new base address to stack
call GetAOE ; Get the AOE and image base
%include "Relocate.asm" ; Make image base relocation
%include "relocate.asm" ; Make image base relocation
%include "BuildImportTable.asm" ; Call the module responsible for building the import address table
xor ecx,ecx ; Zero out the ECX
call GetAOE ; Get image base and AOE
+2 -2
View File
@@ -17,7 +17,7 @@
cld ; Clear out direction flags
call Start ; Start OP
%include "HASH-API.asm" ; hash_api
%include "block_api.asm" ; block_api
GetAOE:
mov eax,[esi+0x3C] ; Get the offset of "PE" to eax
mov ebx,[eax+esi+0x34] ; Get the image base address to ebx
@@ -42,7 +42,7 @@ Stub:
jz OpEnd ; If VirtualAlloc fails don't bother :/
push eax ; Save the new base address to stack
call GetAOE ; Get the AOE and image base
%include "Relocate.asm" ; Make image base relocation
%include "relocate.asm" ; Make image base relocation
%include "BuildImportTable.asm" ; Call the module responsible for building the import address table
xor ecx,ecx ; Zero out the ECX
call GetAOE ; Get image base and AOE
+1 -1
View File
@@ -9,7 +9,7 @@
cld
call Start
%include "HASH-API.asm"
%include "block_api.asm"
GetAOE:
mov eax,[esi+0x3C] ; Get the offset of "PE" to eax
mov ebx,[eax+esi+0x34] ; Get the image base address to ebx
+2 -2
View File
@@ -30,7 +30,7 @@ func assemble() {
Cdir("/usr/share/Amber/core/Fixed/iat")
}
progress()
nasm, Err := exec.Command("nasm","-f","bin","Stub.asm","-o","/usr/share/Amber/Payload").Output()
nasm, Err := exec.Command("nasm","-f","bin","stub.asm","-o","/usr/share/Amber/Payload").Output()
ParseError(Err,"While assembling payload :(",string(nasm))
progress()
} else {
@@ -45,7 +45,7 @@ func assemble() {
Cdir("/usr/share/Amber/core/ASLR/iat/")
}
progress()
nasm, Err := exec.Command("nasm","-f","bin","Stub.asm","-o","/usr/share/Amber/Payload").Output()
nasm, Err := exec.Command("nasm","-f","bin","stub.asm","-o","/usr/share/Amber/Payload").Output()
ParseError(Err,"While assembling payload :(",string(nasm))
progress()
}