Skip to content

Commit

Permalink
adjuste gitgnore for results and adjuste array for using --explot
Browse files Browse the repository at this point in the history
  • Loading branch information
lenonleite committed Aug 8, 2016
2 parents facb6e6 + a644e4f commit 9c2c7f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
results/*
vendor/*
cookie.txt
composer.lock
Expand Down
7 changes: 7 additions & 0 deletions src/SearchHackingEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,21 @@ protected function checkVunerabilities($nameFile, $result, $commandData, OutputI
}

protected function runExploit($result, $commandData, OutputInterface $output){
<<<<<<< HEAD
var_dump($result);
=======
>>>>>>> a644e4f75415640e9913140e26ebc0e9650d08ab
if (in_array('lfd', $this->check)) {
$output->writeln('<info>********Executing command exploit*******</info>');
$output->writeln('<info>********Extract Files of Targets********</info>');
$output->writeln('*-------------------------------------------------');
$output->writeln('');
$downloadFiles=new DownloadByLocalFileDownload($commandData);
<<<<<<< HEAD
foreach($result['lfd'] as $url){
=======
foreach($result as $url){
>>>>>>> a644e4f75415640e9913140e26ebc0e9650d08ab
$output->writeln('*-------------------------------------------------');
$output->writeln('<info>Target => '.$url.'</info>');
$arrDwonloadFiles=$downloadFiles->getAllFiles($url);
Expand Down

0 comments on commit 9c2c7f1

Please sign in to comment.