Kyfx

LFI vuln practise

Jun 9th, 2015
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. <?php
  2. $id = $_GET['id'];
  3.  
  4. include($id);
  5.  
  6. ?>
  7. and save that file to any name like lfi.ph
  8. how to use :-
  9.  
  10. localhost/youranyfile/lfi.php?id=/etc/passwd
Advertisement
Add Comment
Please, Sign In to add comment