【文件属性】:
文件名称:ASM_Learning:ASM学习资料库
文件大小:35KB
文件格式:ZIP
更新时间:2021-04-22 12:53:18
Assembly
x86(32位)
在x86中编译ASM
$ nasm -f elf32 -o < file> .o < file> .asm
$ ld -o < file> < file> .o
# If you want to use libc instead of syscalls, use GCC
$ gcc -o < file> < file> .o
查找系统调用
$ cat /usr/include/i386-linux-gnu/asm/unistd_32.h
广发银行
寻找入口点
(gdb) shell readelf -h < file>
调试命令
(gdb) info proc mappings ; Show memory space
(gdb) info functions ; Show available functions
(gdb
【文件预览】:
ASM_Learning-master
----asm.png(15KB)
----0x09_XOR-Encoder()
--------xor_01_decoder_loop1.nasm(1KB)
--------execve_04_sh_stack.nasm(2KB)
--------xor_02_decoder_loop2.nasm(1KB)
--------README.md(3KB)
----0x06_libc()
--------libc_01.nasm(760B)
----hexReverser.py(422B)
----0x07_shellcode()
--------shellcode_01_skeleton.c(226B)
--------shellcode_04_helloWorld_stack.nasm(1KB)
--------shellcode_03_helloWorld_JMP-CALL-POP.nasm(2KB)
--------README.md(2KB)
--------shellcode_02_exit.c(409B)
----compilerX86.py(5KB)
----LICENSE(1KB)
----0x04_Procedure()
--------procedure_01.nasm(1KB)
--------procedure_02.nasm(2KB)
----0x02_Data()
--------movingData.nasm(2KB)
----0x03_Loop()
--------loop_02.nasm(890B)
--------loop_01.nasm(940B)
----README.md(2KB)
----0x08_Execve()
--------execve_04_sh_stack.nasm(2KB)
--------execve_01_bash_shell.nasm(2KB)
--------execve_03_bash_stack.nasm(2KB)
--------execve_02_sh_shell.nasm(2KB)
----0x01_helloWorld()
--------helloWorld_01.nasm(746B)
--------hellowWorld_02.nasm(988B)
----0x05_strings()
--------TBD.nasm(1B)