minor updates
This commit is contained in:
parent
8c0e91f04e
commit
5f63d93434
@ -27,6 +27,7 @@ echo " [+] Encoding the payload shellcode ..."
|
|||||||
# 00000003 3F aas
|
# 00000003 3F aas
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Permutation code
|
||||||
garbage=('\x37' '\xFA' '\xD6' '\x3F');
|
garbage=('\x37' '\xFA' '\xD6' '\x3F');
|
||||||
#ENCPSHELLCODE=$(for i in $(objdump -d $SPAYLOAD |grep "^ " |cut -f2); do echo -n '\x'$i; echo -n ${garbage[$[$(shuf --random-source=/dev/urandom -z -i 999-999999 -n1)%4]]}; done; echo -n "\xAF\"")
|
#ENCPSHELLCODE=$(for i in $(objdump -d $SPAYLOAD |grep "^ " |cut -f2); do echo -n '\x'$i; echo -n ${garbage[$[$(shuf --random-source=/dev/urandom -z -i 999-999999 -n1)%4]]}; done; echo -n "\xAF\"")
|
||||||
ENCPSHELLCODE=$(for i in $(objdump -d $SPAYLOAD |grep "^ " |cut -f2); do echo -n '\x'$i; echo -n ${garbage[$[$(od -A n -N 2 -t u2 /dev/urandom)%4]]}; done; echo -n "\xAF\"")
|
ENCPSHELLCODE=$(for i in $(objdump -d $SPAYLOAD |grep "^ " |cut -f2); do echo -n '\x'$i; echo -n ${garbage[$[$(od -A n -N 2 -t u2 /dev/urandom)%4]]}; done; echo -n "\xAF\"")
|
||||||
|
Loading…
Reference in New Issue
Block a user