How furqankhan1/dictator works
PTO automates network penetration-test discovery and service vulnerability scanning, then consolidates scanner and manual findings into reports. The documented workflow is user-initiated scan, port discovery, service checks, and report generation; sequential and concurrent modes are supported. The tree identifies the principal scan, exploit-mapping, parser, and reporting modules, while the sampled report orchestrator explicitly combines manual findings with Nessus and Qualys data through Report_Generator. Most scan/API wiring is unsampled, so those connections are shown only where documented and not as detailed internal call chains.
Main entry points: Driver_main_class.py Scan driver · Report_orchestration.py Report orchestration · Report_Generator.py Finding storage · urls.py Django service API
Components 17
Access and control
- Django service API
Dictator/urls.py - Scan GUI
Dictator_service/Gui_main_driver.py - Scan polling
Dictator_service/Polling.py
Scan execution
- Scan driver
Dictator_service/Driver_main_class.py - Port discovery
Dictator_service/Driver_main_class.py - Service checks
Dictator_service/Exploit_mapping.py
Findings intake
- Manual findings
Dictator_service/IPexploits.py - Nessus parser
Dictator_service/Nessus_parser.py - Qualys parser
Dictator_service/Qualys_parser.py - Finding storage
Dictator_service/Report_Generator.py
Reporting
- Report orchestration
Dictator_service/Report_orchestration.py - Report merger
Dictator_service/Report_merger.py - Report output
Dictator_service/Report_printer.py
Other components
- Penetration tester
- Scanning tools
- Scan database
- Target network
Connections 20
- Penetration tester → Scan GUI: starts scan
- Penetration tester → Django service API: requests scan
- Django service API → Scan driver: dispatches scan
- Scan GUI → Scan driver: runs scan
- Scan driver → Port discovery: coordinates discovery
- Port discovery → Target network: probes ports
- Port discovery → Scanning tools: uses Nmap
- Scan driver → Service checks: coordinates checks
- Service checks → Scanning tools: runs test scripts
- Scanning tools → Target network: tests services
- Scan polling → Scan driver: monitors scan
- Nessus parser → Finding storage: stores findings
- Qualys parser → Finding storage: stores findings
- Finding storage → Scan database: writes findings
- Scan database → Report orchestration: provides findings
- Report orchestration → Manual findings: collects manual findings
- Report orchestration → Finding storage: loads scanner findings
- Report orchestration → Report merger: consolidates report
- Report merger → Report output: formats report
- Report output → Penetration tester: returns report