mirror of
https://github.com/Heretic312/devsecops-wrappers.git
synced 2025-12-17 09:46:01 +00:00
Add files via upload
Nmap Ping Sweep with Output to txt
This commit is contained in:
parent
b0795c9d84
commit
6810cff3fb
10
linux/nmap_ping_sweep.sh
Normal file
10
linux/nmap_ping_sweep.sh
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user