Remove junk from nmap results.

This commit is contained in:
Hyperling 2021-02-03 21:39:24 -06:00
parent 3edada0912
commit 34d8684840

View File

@ -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'