Skip to content

Commit

Permalink
Fix syntax errors in discover_subnet.vbs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Sep 27, 2017
1 parent c510a06 commit 67c6842
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions other/discover_subnet.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,6 @@ else
end if
end if


command = nmap_path & " -n -sL "$subnet_range" 2>/dev/null | grep "Nmap done" | cut -d" " -f3)

log_entry = "Discovery for " & subnet_range & " submitted for discovery " & discovery_id & " starting"
write_log()

Expand Down Expand Up @@ -302,7 +299,7 @@ dim hosts_scanned : hosts_scanned = 0
dim db_log_duration : db_log_duration = 0
dim db_log_status : db_log_status = ""
dim db_log_message : db_log_message = ""
dm host_timer : host_timer = 0
dim host_timer : host_timer = 0

db_log_status = "start"
db_log_message = "Starting discovery, scanning " & hosts_in_subnet & " IP addresses"
Expand Down

0 comments on commit 67c6842

Please sign in to comment.