up scan
This commit is contained in:
6
scan.yml
6
scan.yml
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Scan
|
- name: Scan
|
||||||
hosts: tower
|
hosts: scale01
|
||||||
become: true
|
become: true
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
6137356332636431643830666461333862613835336631333037
|
6137356332636431643830666461333862613835336631333037
|
||||||
# 163.172.0.0/24
|
# 163.172.0.0/24
|
||||||
# 163.172.80.0/28
|
# 163.172.80.0/28
|
||||||
target_network: 163.172.80.0/28
|
target_network: 163.172.80.0/24
|
||||||
ansible_user: stephane
|
ansible_user: stephane
|
||||||
ansible_password: stephane
|
ansible_password: stephane
|
||||||
ansible_become_password: stephane
|
ansible_become_password: stephane
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
# apt install masscan
|
# apt install masscan
|
||||||
- ansible.builtin.command:
|
- ansible.builtin.command:
|
||||||
cmd: "python3 /home/root/dirsearch/dirsearch.py -u https://{{ item.item.split('on')[-1].strip() }} --max-time 300"
|
cmd: "python3 /home/root/dirsearch/dirsearch.py -u https://{{ item.item.split('on')[-1].strip() }} --max-time 500"
|
||||||
become: true
|
become: true
|
||||||
loop: "{{ cert.results }}"
|
loop: "{{ cert.results }}"
|
||||||
# vars:
|
# vars:
|
||||||
|
|||||||
Reference in New Issue
Block a user