mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-27 11:09:09 -04:00
11 lines
207 B
Bash
11 lines
207 B
Bash
#!/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."
|