Added Brute-Fruit Module

The Brute-Fruit module is for directory and file brute-forcing against multiple web servers. It accepts a list of web servers (-UrlList) and a dictionary file (-Dictionary) to perform brute forcing against. Think "Dirbusting across a broad range of hosts". It also changed the multi-threading functionality that was being used in the Find-Fruit module so that it breaks out each thread by file/directory instead of by host.
This commit is contained in:
dafthack
2019-01-23 11:19:35 -05:00
committed by GitHub
parent 584da3848e
commit 95db325368
+5
View File
@@ -487,6 +487,10 @@ param (
$WebResponse = $WebRequest.Timeout = $Timeout
$WebResponse = $WebRequest.GetResponse()
$WebStatus = $WebResponse.StatusCode
$Stream = $WebResponse.GetResponseStream()
$Reader = New-Object IO.StreamReader($Stream)
$html = $reader.ReadToEnd()
$WebSize = $html.Length
$ResultObject += $ScanObject
$WebResponse.Close()
}
@@ -505,6 +509,7 @@ param (
$Result = @{
Status = $WebStatus;
URL = $WebTarget
Size = $WebSize
}
if ($FoundOnly) {