Fixed T1018, Remote System Discovery - sweep (#603)

The `-o` flag exists only for the MacOs ping command, it doesn't in the Linux (Ubuntu) command.

I just removed it, it should be necessary since it is already using `-c 1`.
This commit is contained in:
Francisco Oca
2019-11-05 13:59:14 -05:00
committed by Michael Haag
parent 5b297d6bb5
commit 5d4fc8a059
+1 -1
View File
@@ -69,7 +69,7 @@ atomic_tests:
name: sh
elevation_required: false
command: |
for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip -o; [ $? -eq 0 ] && echo "192.168.1.$ip UP" || : ; done
for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip; [ $? -eq 0 ] && echo "192.168.1.$ip UP" || : ; done
- name: Remote System Discovery - nslookup
description: |