Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b58afe

Browse files
authored
Update badger_quick.sh
1 parent 572c8ee commit 9b58afe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

badger_quick.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
# ./badger_quick.sh /shellcode/full/path.bin
4+
35
PP=$1
46
NAME=$(echo $PP | rev | cut -d'/' -f1 | rev | cut -d'.' -f1)
57
OUTDIR="$(echo $PP | rev | cut -d'/' -f2- | rev)/compiled"
@@ -15,4 +17,5 @@ xxd -i badger.bin >> shellcode.h
1517
make
1618
mv shellcode.dll $OUTDIR/$NAME.dll
1719
mv shellcode.exe $OUTDIR/$NAME.exe
20+
rm badger.bin
1821
echo DONE

0 commit comments

Comments
 (0)