Files
CoM-c2itall/modules/webrunner/tasks/collect_results.yml
T
n0mad1k 5a0a49a9c8 Add WEBRUNNER distributed geo-targeted recon module
Multi-provider (Linode/AWS/FlokiNET) scan orchestration:
- Flatten all country CIDRs, chunk by IP count (sprint/balanced/economy presets)
- Assign chunks round-robin across providers
- Cost+time estimate table before deploy
- Ansible provisions N nodes in parallel, runs masscan/nmap/probe per node
- Results fetched back and merged into unified JSON report
- Scanner IPs logged per engagement for client IR reporting
- Operator IP whitelisting, enhanced OPSEC mode, YAML targets.yaml support
2026-04-30 16:26:45 -04:00

20 lines
544 B
YAML

---
# Fetch scan results from node back to controller
- name: Check results exist on {{ node_name }}
stat:
path: /root/webrunner/results.json
register: results_stat
- name: Fetch results from {{ node_name }}
fetch:
src: /root/webrunner/results.json
dest: "{{ results_dir }}/{{ node_name }}_results.json"
flat: true
when: results_stat.stat.exists
- name: Warn if no results from {{ node_name }}
debug:
msg: "No results.json found on {{ node_name }} — scan may have failed"
when: not results_stat.stat.exists