Skip to content

Instantly share code, notes, and snippets.

@stefanruijsenaars
Created June 10, 2016 17:20
Show Gist options
  • Save stefanruijsenaars/94712d9a536cfb054131c5ca62f667c7 to your computer and use it in GitHub Desktop.
Save stefanruijsenaars/94712d9a536cfb054131c5ca62f667c7 to your computer and use it in GitHub Desktop.
With patch:
[pid 8125] execve("/bin/sh", ["sh", "-c", "/usr/sbin/sendmail -t -i -f'test\\#\\$%\\&\\*\\?\\^\\`\\{\\|\\}\\~@example.com'"], [/* 23 vars */] <unfinished ...>
[pid 8126] execve("/usr/sbin/sendmail", ["/usr/sbin/sendmail", "-t", "-i", "-ftest\\#\\$%\\&\\*\\?\\^\\`\\{\\|\\}\\~@example.com"], [/* 23 vars */]) = 0
Without patch:
[pid 8093] execve("/bin/sh", ["sh", "-c", "/usr/sbin/sendmail -t -i -ftest\\#\\$%\\&\\*\\?\\^\\`\\{\\|\\}\\~@example.com"], [/* 23 vars */] <unfinished ...>
[pid 8094] execve("/usr/sbin/sendmail", ["/usr/sbin/sendmail", "-t", "-i", "-ftest#$%&*?^`{|}~@example.com"], [/* 23 vars */]) = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment