Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sslyze saving results #92

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions extra_modules_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@ class ExtraModulesConfig:
cast=decouple.Csv(str),
default=",".join(
[
"base64encode",
"chardoubleencode",
"charencode",
"commalessmid",
"randomcase",
"space2randomblank",
"/opt/karton_sqlmap/tamper/tamper_double_quotes.py",
]
Expand Down
9 changes: 7 additions & 2 deletions karton_ssl_checks/karton_ssl_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,16 @@ def scan() -> List[ServerScanResult]:

return list(scanner.get_results())

results = throttle_request(scan)
try:
results = throttle_request(scan)
except Exception:
self.logger.exception(f"Unable to complete scan for {domain}")
results = []

for server_scan_result in results:
if not server_scan_result.scan_result:
raise Exception(f"Unable to complete scan for {domain}. Full result: {server_scan_result}")
self.logger.error(f"Unable to complete scan for {domain}. Full result: {server_scan_result}")
continue

certinfo_result = server_scan_result.scan_result.certificate_info.result

Expand Down
Loading