Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update backend_structured/scanners_core.py
Browse files
backend_structured/scanners_core.py
CHANGED
|
@@ -47,7 +47,10 @@ from scanners.base_scanner import (
|
|
| 47 |
cleanup_scan_logs, schedule_log_cleanup, emit_scan_progress
|
| 48 |
)
|
| 49 |
from scanners import get_pipeline, get_phases, build_scanner, apply_scan_options
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
| 51 |
from cryptography import x509
|
| 52 |
from cryptography.hazmat.backends import default_backend
|
| 53 |
|
|
|
|
| 47 |
cleanup_scan_logs, schedule_log_cleanup, emit_scan_progress
|
| 48 |
)
|
| 49 |
from scanners import get_pipeline, get_phases, build_scanner, apply_scan_options
|
| 50 |
+
try:
|
| 51 |
+
from backend.utils.fuzzer_engine import ContextAwareFuzzer
|
| 52 |
+
except ImportError:
|
| 53 |
+
from utils.fuzzer_engine import ContextAwareFuzzer
|
| 54 |
from cryptography import x509
|
| 55 |
from cryptography.hazmat.backends import default_backend
|
| 56 |
|