Remove junk from nmap results.
This commit is contained in:
parent
3edada0912
commit
34d8684840
@ -1,10 +1,13 @@
|
|||||||
---
|
---
|
||||||
# Nmap port test
|
# Nmap port test
|
||||||
|
|
||||||
- name: General | Tests | nmap | Run
|
- name: General | Tests | nmap | Run Count
|
||||||
shell: "nmap localhost > /root/nmap.txt"
|
shell: "nmap --open localhost | grep -c open > /root/nmap.txt"
|
||||||
|
|
||||||
- name: General | Tests | nmap | Make Report Readable
|
- name: General | Tests | nmap | Run Open
|
||||||
|
shell: "nmap --open localhost | grep open >> /root/nmap.txt"
|
||||||
|
|
||||||
|
- name: General | Tests | nmap | Make Viewable
|
||||||
file:
|
file:
|
||||||
path: "/root/nmap.txt"
|
path: "/root/nmap.txt"
|
||||||
mode: '0444'
|
mode: '0444'
|
Loading…
x
Reference in New Issue
Block a user