C# Class PassiveScanning.MainClass

Datei anzeigen Open project: radicallyopensecurity/PassiveScanningTool

Public Properties

Property Type Description
CveDocument PassiveScanning.Cve.CveDocument
HostList PassiveScanning.HostList

Public Methods

Method Description
DumpBanners ( int>.Dictionary bannerCounters, string prefix = "" ) : void
DumpCveFrequencies ( int>.Dictionary cveDetailsCounter, int>.Dictionary totalSoftwareCounter, string prefix = "" ) : void
DumpHeartbleedHosts ( List hostList, List heartbleedHosts ) : void
DumpMissingHTTPHeaders ( List hostList, int>.Dictionary missingHTTPHeaderCounter ) : void
DumpSoftwareFrequencies ( int>.Dictionary softwareCounter, int>.Dictionary totalSoftwareCounter, string prefix = "" ) : void
FindAndDumpHeartbleed ( string resultPath, List hostList ) : void
FindAndDumpSoftwareBannersAndCves ( List hostList, string prefix = "" ) : void
FindAndProcessWebsiteComments ( List hostList ) : void
FindBannersFromHostList ( List hostList ) : Dictionary>
FindMissingHTTPHeaders ( List hostList ) : int>.Dictionary
FindRapid7File ( string name ) : string
FindServices ( object state ) : void
FindZmapFile ( string name, bool zgrab ) : string
GetCommentsFromArchiveOrg ( string hostName ) : List
GetCommentsFromSource ( string source ) : List
GetHeartbleedHosts ( string resultPath, List hostList ) : List
GetHostListFromShodan ( List ips ) : List
GetSoftwareAndCveFromBanners ( int>.Dictionary bannerCounters, int>.Dictionary &softwareCounter, int>.Dictionary &totalSoftwareCounter, int>.Dictionary &cveDetailsCounter ) : void
GetSourceFromArchiveOrg ( string hostname ) : string
Main ( string args ) : void

Method Details

DumpBanners() public static method

public static DumpBanners ( int>.Dictionary bannerCounters, string prefix = "" ) : void
bannerCounters int>.Dictionary
prefix string
return void

DumpCveFrequencies() public static method

public static DumpCveFrequencies ( int>.Dictionary cveDetailsCounter, int>.Dictionary totalSoftwareCounter, string prefix = "" ) : void
cveDetailsCounter int>.Dictionary
totalSoftwareCounter int>.Dictionary
prefix string
return void

DumpHeartbleedHosts() public static method

public static DumpHeartbleedHosts ( List hostList, List heartbleedHosts ) : void
hostList List
heartbleedHosts List
return void

DumpMissingHTTPHeaders() public static method

public static DumpMissingHTTPHeaders ( List hostList, int>.Dictionary missingHTTPHeaderCounter ) : void
hostList List
missingHTTPHeaderCounter int>.Dictionary
return void

DumpSoftwareFrequencies() public static method

public static DumpSoftwareFrequencies ( int>.Dictionary softwareCounter, int>.Dictionary totalSoftwareCounter, string prefix = "" ) : void
softwareCounter int>.Dictionary
totalSoftwareCounter int>.Dictionary
prefix string
return void

FindAndDumpHeartbleed() public static method

public static FindAndDumpHeartbleed ( string resultPath, List hostList ) : void
resultPath string
hostList List
return void

FindAndDumpSoftwareBannersAndCves() public static method

public static FindAndDumpSoftwareBannersAndCves ( List hostList, string prefix = "" ) : void
hostList List
prefix string
return void

FindAndProcessWebsiteComments() public static method

public static FindAndProcessWebsiteComments ( List hostList ) : void
hostList List
return void

FindBannersFromHostList() public static method

public static FindBannersFromHostList ( List hostList ) : Dictionary>
hostList List
return Dictionary>

FindMissingHTTPHeaders() public static method

public static FindMissingHTTPHeaders ( List hostList ) : int>.Dictionary
hostList List
return int>.Dictionary

FindRapid7File() public static method

public static FindRapid7File ( string name ) : string
name string
return string

FindServices() public static method

public static FindServices ( object state ) : void
state object
return void

FindZmapFile() public static method

public static FindZmapFile ( string name, bool zgrab ) : string
name string
zgrab bool
return string

GetCommentsFromArchiveOrg() public static method

public static GetCommentsFromArchiveOrg ( string hostName ) : List
hostName string
return List

GetCommentsFromSource() public static method

public static GetCommentsFromSource ( string source ) : List
source string
return List

GetHeartbleedHosts() public static method

public static GetHeartbleedHosts ( string resultPath, List hostList ) : List
resultPath string
hostList List
return List

GetHostListFromShodan() public static method

public static GetHostListFromShodan ( List ips ) : List
ips List
return List

GetSoftwareAndCveFromBanners() public static method

public static GetSoftwareAndCveFromBanners ( int>.Dictionary bannerCounters, int>.Dictionary &softwareCounter, int>.Dictionary &totalSoftwareCounter, int>.Dictionary &cveDetailsCounter ) : void
bannerCounters int>.Dictionary
softwareCounter int>.Dictionary
totalSoftwareCounter int>.Dictionary
cveDetailsCounter int>.Dictionary
return void

GetSourceFromArchiveOrg() public static method

public static GetSourceFromArchiveOrg ( string hostname ) : string
hostname string
return string

Main() public static method

public static Main ( string args ) : void
args string
return void

Property Details

CveDocument public_oe static_oe property

public static CveDocument,PassiveScanning.Cve CveDocument
return PassiveScanning.Cve.CveDocument

HostList public_oe static_oe property

public static HostList,PassiveScanning HostList
return PassiveScanning.HostList