-
Notifications
You must be signed in to change notification settings - Fork 0
/
orc.yaml
executable file
·61 lines (53 loc) · 1.56 KB
/
orc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
#
# YAML Config file for orc.py projet
#
files:
- iplist: iplist.txt
- domainlist: domlist.txt
- domains: domlist.txt
vars:
- ip: 192.168.1.1
- website: www.yourdomain.com
- domains:
- domain1.com
- domain2.com
- ips:
- 11.11.11.11
- 11.11.11.12
- folder: result
- protocols:
- http
- https
blocks:
- block: 'create folders structure'
threads: 1
clis:
- 'mkdir -p {{folder}}/nmap'
- 'mkdir -p {{folder}}/nikto'
- 'mkdir -p {{folder}}/whois'
- 'mkdir -p {{folder}}/dns'
- block: 'Discover target'
threads: 4
clis:
- cli: 'nslookup {{website}}'
out: '{{folder}}/dns/nslookup_{{website}}.log'
- cli : 'dig any +noall +answer {{website}} @8.8.8.8'
out: '{{folder}}/dns/dig_{{website}}.log'
- cli: 'host {{domains}}'
out: '{{folder}}/dns/host_{{domains}}.log'
- cli: 'whois {{domains}}'
out: '{{folder}}/whois/whois_{{domains}}.log'
- block: 'Fast nmap discover (top 100)'
threads: 2
clis:
- 'nmap -v0 --open -Pn -n -F -sC -sV -T5 -oA {{folder}}/nmap/fast_{{ips}} {{ips}}'
- block: 'Normal nmap discover (top 1000) and nikto'
threads: 4
clis:
- 'nmap -v0 --open -Pn -n -sC -sV -T5 -oA {{folder}}/nmap/normal_{{ips}} {{ips}}'
#- 'nikto -maxtime 20m -nointeractive -host {{protocols}}://{{website}} -output {{folder}}/nikto/{{protocols}}_{{website}}.log -Format txt'
- 'python3 tools/nmaptocsv.py -x result/nmap/fast_{{ips}}.xml -o result/nmap/fast_{{ips}}.csv'
# - block: 'name'
# cli:
# - ''