Skip to content

Instantly share code, notes, and snippets.

@Sinkmanu
Created January 30, 2017 21:54
Show Gist options
  • Save Sinkmanu/bd621c9fa52ab32656f2836f7b22978c to your computer and use it in GitHub Desktop.
Save Sinkmanu/bd621c9fa52ab32656f2836f7b22978c to your computer and use it in GitHub Desktop.
Reverse string command (string to reverse hex)
python -c "cad = '//bin/bash'; print [cad[::-1].encode('hex')[i:i+8] for i in range(0, len(cad[::-1].encode('hex')), 8)]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment