From 6810cff3fbe2a339efa74a8fbdcf365c6cb0ce62 Mon Sep 17 00:00:00 2001 From: Heretic <137451+Heretic312@users.noreply.github.com> Date: Wed, 29 Oct 2025 10:50:31 -0500 Subject: [PATCH] Add files via upload Nmap Ping Sweep with Output to txt --- linux/nmap_ping_sweep.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 linux/nmap_ping_sweep.sh diff --git a/linux/nmap_ping_sweep.sh b/linux/nmap_ping_sweep.sh new file mode 100644 index 0000000..4fe13af --- /dev/null +++ b/linux/nmap_ping_sweep.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Continuous Internal IP Scanning Script (schedule with Cron and Diff results) +# Author: Victor Bishop (Heretic312) +# Date: 10/29/2025 +# nmap -sn = "ping sweep" -oG = "Output to file.txt" +# Modify subnet="" to match your network + +subnet="" +timestamp=$(date +%F_%H-%M) +nmap -sn $subnet -oG "internal_ips_$timestamp.txt" \ No newline at end of file