Guest User

Untitled

a guest
May 31st, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. << COMMENTOUT
  2. [./html/get.php]
  3. <?php var_dump($_GET);?>
  4.  
  5. $ sh get.sh
  6. Content-type: text/html; charset=UTF-8
  7.  
  8. array(3) {
  9. ["user"]=>
  10. string(3) "foo"
  11. ["pass"]=>
  12. string(3) "bar"
  13. ["left"]=>
  14. string(4) "1234"
  15. }
  16.  
  17. COMMENTOUT
  18.  
  19. export CONTENT_TYPE=application/x-www-form-urlencoded;
  20. export CONTENT_LENGTH=20000;
  21. export REDIRECT_STATUS=true;
  22. export SCRIPT_FILENAME=./html/get.php;
  23. export REQUEST_METHOD=GET;
  24. export GATEWAY_INTERFACE=CGI/1.1;
  25. export QUERY_STRING='user=foo&pass=bar&left=1234';
  26. echo "" | php-cgi
Add Comment
Please, Sign In to add comment