@@ -84,6 +84,9 @@ |
||
84 | 84 | return array_merge($urls1, $urls2); |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param string $exploit |
|
89 | + */ |
|
87 | 90 | public function generateUrlsByExploit($target, $exploit) |
88 | 91 | { |
89 | 92 | $explodeUrl = parse_url($target); |
@@ -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 | ]]); |