We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/hex_escape
Add a built-in command payload encoder that converts each argument to a shell hex string using Support::Encoders::Shell.encode(string).
Support::Encoders::Shell.encode(string)
ls -l
bash -c "$'\x6c\x73' $'\x2d\x6c'"
Use Shellwords.shellsplit to split the command into arguments.
The text was updated successfully, but these errors were encountered:
Confirmed $'\x6c\x73' $'\x2d\x6c' works in zsh and mksh.
$'\x6c\x73' $'\x2d\x6c'
zsh
mksh
Sorry, something went wrong.
cmd/encode
cmd/hex_encode
There shouldn't be cmd/ encoders, since CommandPayloads can represent either UNIX shell commands or Windows (cmd.exe or PowerShell) commands.
cmd/
CommandPayload
cmd.exe
postmodern
No branches or pull requests
Add a built-in command payload encoder that converts each argument to a shell hex string using
Support::Encoders::Shell.encode(string)
.ls -l
->bash -c "$'\x6c\x73' $'\x2d\x6c'"
Use Shellwords.shellsplit to split the command into arguments.
The text was updated successfully, but these errors were encountered: