Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572c8ee commit 9b58afeCopy full SHA for 9b58afe
badger_quick.sh
@@ -1,5 +1,7 @@
1
#!/bin/bash
2
3
+# ./badger_quick.sh /shellcode/full/path.bin
4
+
5
PP=$1
6
NAME=$(echo $PP | rev | cut -d'/' -f1 | rev | cut -d'.' -f1)
7
OUTDIR="$(echo $PP | rev | cut -d'/' -f2- | rev)/compiled"
@@ -15,4 +17,5 @@ xxd -i badger.bin >> shellcode.h
15
17
make
16
18
mv shellcode.dll $OUTDIR/$NAME.dll
19
mv shellcode.exe $OUTDIR/$NAME.exe
20
+rm badger.bin
21
echo DONE
0 commit comments