Skip to content

Commit

Permalink
adjust array setting lfd for iterate with loop
Browse files Browse the repository at this point in the history
  • Loading branch information
lenonleite committed Aug 8, 2016
1 parent 9c2c7f1 commit 9a1b7f9
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/SearchHackingEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,21 +381,16 @@ 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 9a1b7f9

Please sign in to comment.