@@ -87,6 +87,9 @@ |
||
| 87 | 87 | return array_merge($urls1, $urls2); |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | + /** |
|
| 91 | + * @param string $exploit |
|
| 92 | + */ |
|
| 90 | 93 | protected function generateUrlsByExploit($target, $exploit) |
| 91 | 94 | { |
| 92 | 95 | $explodeUrl = parse_url($target); |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | |
| 54 | 54 | $header = new FakeHeaders(); |
| 55 | 55 | $client = new Client(['defaults' => [ |
| 56 | - 'headers' => ['User-Agent' => $header->getUserAgent()], |
|
| 56 | + 'headers' => ['User-Agent' => $header->getUserAgent()], |
|
| 57 | 57 | 'proxy' => $this->commandData['tor'], |
| 58 | 58 | 'timeout' => 30, |
| 59 | 59 | ]]); |
@@ -87,6 +87,9 @@ |
||
| 87 | 87 | return array_merge($urls1, $urls2); |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | + /** |
|
| 91 | + * @param string $exploit |
|
| 92 | + */ |
|
| 90 | 93 | protected function generateUrlsByExploit($target, $exploit) |
| 91 | 94 | { |
| 92 | 95 | $explodeUrl = parse_url($target); |