St0epaCode

Auto Create File & Folder

Oct 20th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. <?php
  2. // By Eggy - IndoSec
  3.     $a = 0;
  4.     while ($a < 10) {
  5.         for ($b=0; $b < 9999999999; $b++) {
  6.             // Nama Folder
  7.             mkdir('Folder'.$b);
  8.             // Nama File
  9.             $c = fopen('File'.$b, 'a');
  10.             // Isi file
  11.             $data = "
  12.  
  13.             Isi file disini
  14.  
  15.             ";
  16.             fwrite($c, $data);
  17.             fclose($c);
  18.             echo "SUKSES<br>";
  19.         }
  20.             }      
  21. $a++
  22.  
  23.  ?>
Advertisement
Add Comment
Please, Sign In to add comment