Skip to content

Commit

Permalink
🩹 Handle vendor NoneType #791
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Sep 16, 2024
1 parent 7340ce6 commit 064a51a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion front/plugins/pholus_scan/pholus/pholus3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ def main():
elif values.rdns_scanning:
file_print_pr("[DEBUG] Timestamp 45: ", timeNow())
dns_query=None
ipn = ipaddress.ip_network(values.rdns_scanning)
ipn = ipaddress.ip_network(values.rdns_scanning, strict=False)
for ip in ipn.hosts():
the_query = ip.reverse_pointer
if not dns_query:
Expand Down
18 changes: 1 addition & 17 deletions front/plugins/undiscoverables/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,12 @@
{
"language_code": "en_us",
"string": "<i class=\"fa-solid fa-binoculars\"></i>"
},
{
"language_code": "es_es",
"string": "<i class=\"fa-solid fa-binoculars\"></i>"
},
{
"language_code": "de_de",
"string": "<i class=\"fa-solid fa-binoculars\"></i>"
}
],
"description": [
{
"language_code": "en_us",
"string": "This plugin is to import undiscoverable devices from a file."
},
{
"language_code": "es_es",
"string": "Este complemento es para importar dispositivos no detectables desde un archivo."
},
{
"language_code": "de_de",
"string": "Ein Plugin zum Importieren von nicht erkennbaren Geräten aus einer Datei."
"string": "This plugin is to import undiscoverable devices from a file. Only ASCII characters are supported."
}
],
"params": [
Expand Down

0 comments on commit 064a51a

Please sign in to comment.