Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- << COMMENTOUT
- [./html/get.php]
- <?php var_dump($_GET);?>
- $ sh get.sh
- Content-type: text/html; charset=UTF-8
- array(3) {
- ["user"]=>
- string(3) "foo"
- ["pass"]=>
- string(3) "bar"
- ["left"]=>
- string(4) "1234"
- }
- COMMENTOUT
- export CONTENT_TYPE=application/x-www-form-urlencoded;
- export CONTENT_LENGTH=20000;
- export REDIRECT_STATUS=true;
- export SCRIPT_FILENAME=./html/get.php;
- export REQUEST_METHOD=GET;
- export GATEWAY_INTERFACE=CGI/1.1;
- export QUERY_STRING='user=foo&pass=bar&left=1234';
- echo "" | php-cgi
Add Comment
Please, Sign In to add comment