mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-03 07:14:54 -04:00
some memory exploitation snippets
This commit is contained in:
parent
d987311195
commit
ab05e249d4
19 changed files with 2613 additions and 0 deletions
10
Memory_Exploits/Assembly/asm_compiler.sh
Normal file
10
Memory_Exploits/Assembly/asm_compiler.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
printf "\n\tUsage: $0 filename\n\n"
|
||||
exit
|
||||
fi
|
||||
filename=`echo $1 | sed s/"\$"//`
|
||||
nasm -f elf $filename.asm && ld $filename.o -o $filename
|
||||
|
||||
echo "Successfully compiled."
|
Loading…
Add table
Add a link
Reference in a new issue