summaryrefslogtreecommitdiff
path: root/exec_cmd_setuid/makefile
diff options
context:
space:
mode:
authorBrett Weiland <techcrazybsw@gmail.com>2020-11-20 17:57:20 -0600
committerBrett Weiland <techcrazybsw@gmail.com>2020-11-20 17:57:20 -0600
commit0c7b4ed75157aa9d781e4eec92a0a604c4c45c9c (patch)
tree82d890d910645693ec9140a415f95ae13ab1b85e /exec_cmd_setuid/makefile
new file: exec_cmd/makefileHEADmaster
new file: exec_cmd/shell new file: exec_cmd/shell.asm new file: exec_cmd/shell.o new file: exec_cmd_setuid/makefile new file: exec_cmd_setuid/shell new file: exec_cmd_setuid/shell.asm new file: exec_cmd_setuid/shell.o
Diffstat (limited to 'exec_cmd_setuid/makefile')
-rw-r--r--exec_cmd_setuid/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/exec_cmd_setuid/makefile b/exec_cmd_setuid/makefile
new file mode 100644
index 0000000..676ee34
--- /dev/null
+++ b/exec_cmd_setuid/makefile
@@ -0,0 +1,5 @@
+make:
+ nasm shell.asm -felf32 -o shell.o
+ ld -m elf_i386 shell.o -o shell -s
+ chmod u+s shell
+