MCPcopy Create free account

hub / github.com/cloudflare/flan / functions

Functions75 in github.com/cloudflare/flan

↓ 21 callersMethod_append
(self, text: str)
contrib/report_builders/latex_report_builder.py:99
↓ 18 callersMethod_append_line
(self, text: str, separators: int = 2, spaces: int = 0)
contrib/report_builders/markdown_report_builder.py:85
↓ 3 callersMethod_append
(self, text: str, spaces: int = 0)
contrib/report_builders/markdown_report_builder.py:80
↓ 3 callersMethodget_description
(self, vuln: str, vuln_type: str)
contrib/descriptions/cveproject.py:19
↓ 2 callersMethod_append_location
(self, address: str, ports: List[str], spaces: int)
contrib/report_builders/markdown_report_builder.py:93
↓ 2 callersMethod_append_service
(self, index: int, name: str, spaces: int = 0)
contrib/report_builders/markdown_report_builder.py:89
↓ 2 callersMethod_serialize_locations
(locations: Dict[str, List[str]])
contrib/report_builders/json_report_builder.py:44
↓ 2 callersMethodinitialize_section
Adds begin of report section
contrib/report_builders/report_builder.py:47
↓ 2 callersMethodparse
Parse xmltodict output and fill internal collections :param data: xmltodict output
contrib/parsers/flan_xml_parser.py:41
↓ 2 callersMethodparse_host
(self, host: Dict[str, Any])
contrib/parsers/flan_xml_parser.py:106
↓ 2 callersMethodparse_port
(self, ip_addr: str, port: Dict[str, Any])
contrib/parsers/flan_xml_parser.py:84
↓ 2 callersMethodparse_script
(self, ip_addr: str, port: str, app_name: str, script: Dict[str, Any])
contrib/parsers/flan_xml_parser.py:71
↓ 2 callersMethodparse_vuln
(self, app_name: str, vuln: List[Dict[str, Any]])
contrib/parsers/flan_xml_parser.py:57
↓ 1 callersMethod_read_template
(self)
contrib/report_builders/html_report_builder.py:20
↓ 1 callersMethodadd_ip_address
Adds IP-address to scanned addresses section
contrib/report_builders/report_builder.py:59
↓ 1 callersMethodadd_ips_section
Adds section with list of scanned ip addresses
contrib/report_builders/report_builder.py:53
↓ 1 callersMethodadd_non_vulnerable_section
Adds header for section with services without detected vulnerabilities
contrib/report_builders/report_builder.py:29
↓ 1 callersMethodadd_non_vulnerable_services
Adds descriptions of services without detected vulnerabilities
contrib/report_builders/report_builder.py:41
↓ 1 callersMethodadd_vulnerable_section
Adds header for section with vulnerable services
contrib/report_builders/report_builder.py:23
↓ 1 callersMethodadd_vulnerable_services
Adds descriptions of vulnerable services
contrib/report_builders/report_builder.py:35
↓ 1 callersMethodbuild
:return: Ready report in specific format
contrib/report_builders/report_builder.py:17
↓ 1 callersMethodconvert_severity
:return: Float severity value to text
contrib/internal_types/flan_types.py:34
↓ 1 callersFunctioncreate_default_provider
()
output_report.py:42
↓ 1 callersFunctioncreate_report
(parser: FlanXmlParser, builder: ReportBuilder, nmap_command: str, start_date: str, output_writer: IO,
output_report.py:13
↓ 1 callersFunctioncreate_report_builder
(report_type: str)
output_report.py:46
↓ 1 callersMethodfinalize
Adds report footer
contrib/report_builders/report_builder.py:65
↓ 1 callersMethodget_app_name
(service: Dict[str, Any])
contrib/parsers/flan_xml_parser.py:139
↓ 1 callersMethodinit_report
Creates document section with report overview
contrib/report_builders/report_builder.py:11
↓ 1 callersFunctionmain
(dirname: str, output_file: str, ip_file: str, report_type: str = 'tex')
output_report.py:61
↓ 1 callersFunctionparse_nmap_command
(raw_command: str)
output_report.py:36
↓ 1 callersMethodread_xml_contents
(contents: str)
contrib/parsers/flan_xml_parser.py:157
↓ 1 callersMethodread_xml_file
Read file and convert to dictionary. To read raw contents use `read_xml_contents` :param path: path to .xml file :return: pa
contrib/parsers/flan_xml_parser.py:127
↓ 1 callersMethodto_dict
(self)
contrib/internal_types/flan_types.py:25
Method__init__
(self)
contrib/parsers/flan_xml_parser.py:16
Method__init__
(self, text: str, url: Optional[str] = None)
contrib/descriptions/description_provider.py:8
Method__init__
(self, session: Session)
contrib/descriptions/cveproject.py:15
Method__init__
:param description_provider: A provider of vulnerability full description
contrib/report_builders/latex_report_builder.py:14
Method__init__
(self, description_provider: VulnDescriptionProvider)
contrib/report_builders/html_report_builder.py:11
Method__init__
(self, description_provider: VulnDescriptionProvider)
contrib/report_builders/markdown_report_builder.py:12
Method__init__
(self, description_provider: VulnDescriptionProvider)
contrib/report_builders/json_report_builder.py:10
Method__init__
(self, name: str, vuln_type: str, severity: float)
contrib/internal_types/flan_types.py:20
Method__init__
(self)
contrib/internal_types/flan_types.py:56
Methodadd_ip_address
(self, ip: str)
contrib/report_builders/latex_report_builder.py:92
Methodadd_ip_address
(self, ip: str)
contrib/report_builders/markdown_report_builder.py:70
Methodadd_ip_address
(self, ip: str)
contrib/report_builders/json_report_builder.py:40
Methodadd_ips_section
(self)
contrib/report_builders/latex_report_builder.py:88
Methodadd_ips_section
(self)
contrib/report_builders/markdown_report_builder.py:67
Methodadd_non_vulnerable_section
(self)
contrib/report_builders/latex_report_builder.py:85
Methodadd_non_vulnerable_section
(self)
contrib/report_builders/markdown_report_builder.py:30
Methodadd_non_vulnerable_services
(self, scan_results: Dict[str, ScanResult])
contrib/report_builders/latex_report_builder.py:69
Methodadd_non_vulnerable_services
(self, scan_results: Dict[str, ScanResult])
contrib/report_builders/markdown_report_builder.py:55
Methodadd_non_vulnerable_services
(self, scan_results: Dict[str, ScanResult])
contrib/report_builders/json_report_builder.py:34
Methodadd_vulnerable_section
(self)
contrib/report_builders/latex_report_builder.py:82
Methodadd_vulnerable_section
(self)
contrib/report_builders/markdown_report_builder.py:27
Methodadd_vulnerable_services
(self, scan_results: Dict[str, ScanResult])
contrib/report_builders/latex_report_builder.py:38
Methodadd_vulnerable_services
(self, scan_results: Dict[str, ScanResult])
contrib/report_builders/markdown_report_builder.py:33
Methodadd_vulnerable_services
(self, scan_results: Dict[str, ScanResult])
contrib/report_builders/json_report_builder.py:21
Methodbuild
(self)
contrib/report_builders/latex_report_builder.py:31
Methodbuild
(self)
contrib/report_builders/html_report_builder.py:17
Methodbuild
(self)
contrib/report_builders/markdown_report_builder.py:24
Methodbuild
(self)
contrib/report_builders/json_report_builder.py:18
Methodfinalize
(self)
contrib/report_builders/latex_report_builder.py:95
Methodfinalize
(self)
contrib/report_builders/markdown_report_builder.py:73
Methodget_description
(self, vuln: str, vuln_type: str)
contrib/descriptions/description_provider.py:18
Methodheader
(self)
contrib/report_builders/latex_report_builder.py:35
Methodheader
(self)
contrib/report_builders/markdown_report_builder.py:77
Methodinit_report
(self, start_date: str, nmap_command: str)
contrib/report_builders/latex_report_builder.py:24
Methodinit_report
(self, start_date: str, nmap_command: str)
contrib/report_builders/markdown_report_builder.py:16
Methodinit_report
(self, start_date: str, nmap_command: str)
contrib/report_builders/json_report_builder.py:14
Methodinitialize_section
(self)
contrib/report_builders/latex_report_builder.py:78
Methodinitialize_section
(self)
contrib/report_builders/markdown_report_builder.py:64
Methodnon_vuln_services
:return: App names for services without detected vulnerabilities
contrib/parsers/flan_xml_parser.py:35
Methodnon_vulnerable_dict
:return: Map {app_name -> scan result} for services without detected vulnerabilities
contrib/parsers/flan_xml_parser.py:28
Methodseverity_str
:return: Text severity representation
contrib/internal_types/flan_types.py:45
Methodvulnerable_dict
:return: Map {app_name -> scan result} for vulnerable services
contrib/parsers/flan_xml_parser.py:21