mirror of
https://github.com/Heretic312/devsecops-wrappers.git
synced 2025-12-17 17:56:35 +00:00
10 lines
338 B
Bash
10 lines
338 B
Bash
|
|
#!/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"
|