Skip to content

Commit

Permalink
adjust generate url
Browse files Browse the repository at this point in the history
  • Loading branch information
lenonleite committed Jul 1, 2016
1 parent 2361f38 commit e3928b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SqlInjection.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,12 @@ protected function generateUrlByExploit()
$queryFinal = '';
//Identify and sets urls of values of Get
foreach ($explodeQuery as $keyQuery => $query) {
$queryFinal .= $query."'";
$queryFinal .= $query."'&";
//$explodeQueryEqual=explode("=",$query);
//$wordsValue[$keyQuery]=$explodeQueryEqual[1];
//$wordsKey[$keyQuery]=$explodeQueryEqual[0];
}
$queryFinal = substr($queryFinal,0,-1);

return $explodeUrl['scheme'].'://'.$explodeUrl['host'].$explodeUrl['path'].'?'.$queryFinal;
}
Expand Down

0 comments on commit e3928b3

Please sign in to comment.