php script: fimapbatchautoawsome.php 06-27-2016, 11:48 PM
#1
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
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
[Video: https://www.youtube-nocookie.com/embed/bOkD-HSOmyI]
[bt][1B1sXX2sHhvUrf9Ga9MKcH5e9T4xgN13tB]
[bt][1B1sXX2sHhvUrf9Ga9MKcH5e9T4xgN13tB]




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)