hiallaah

Untitled

Sep 18th, 2021
715
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $path    = './';
  3.           $files = scandir($path);
  4.           $files = array_diff(scandir($path), array('.', '..'));
  5.         ?>
  6.           <h1>List of system files available in the site:</h1>
  7.         <?php
  8.           foreach($files as $file){
  9.             echo '<a href="' . $file . '" download>' .  $file . '</a>';
  10.         ?>
  11.             <br>
  12.         <?php
  13.            
  14.           }
  15.         ?>
  16.  
RAW Paste Data