angryip / ipscan

Angry IP Scanner - fast and friendly network scanner
angryip.org
GNU General Public License v2.0
4.08k stars 715 forks source link

scheduled scan #422

Open JoseLuisTeixeira opened 11 months ago

JoseLuisTeixeira commented 11 months ago

FEATURE Schedule scans. I would like to have an overnight scan to detect hosts alive (not properly shutdown).

Describe the solution you'd like Availability to schedule a job with the date and time to scan a IP range (or several vlans)

alternatives considered I manually create a windows Scheduler (or cronjob) with command line batch: REM Start AngryScanner, Save log file (wait to end process) Start /B /wait C:\PROGRA~1\ANGRYI~1\ipscan.exe -sq -f:range 192.168.0.1 192.168.0.253 -o c:\temp\scan.txt REM Rename output file to have date and time Start /B /wait move "c:\temp\scan.txt" "c:\temp\scan_vlan1_%date:~6,4%%date:~3,2%%date:~0,2%_%Time:~0,2%%Time:~3,2%%Time:~6,2%.txt"

Additional context Not a must, but a nice to have.

JoseLuisTeixeira commented 11 months ago

Along with given feature, would be nice that the ipscan.exe process would run "headless" or on "background".

JonnyTech commented 11 months ago

Check out the command-line options:

Pass the following arguments:
[options] <feeder> <exporter>

Where <feeder> is one of:
-f:range <Start IP> <End IP>
-f:random <Base IP> <IP Mask> <Count>
-f:file <File>

<exporter> is one of:
-o filename.txt     Text file (txt)
-o filename.csv     Comma-separated file (csv)
-o filename.xml     XML file (xml)
-o filename.lst     IP:Port list (lst)
-o filename.sql     SQL file (sql)

And possible [options] are (grouping allowed):
-s  start scanning automatically
-q  quit after exporting the results
-a  append to the file, do not overwrite
JoseLuisTeixeira commented 11 months ago

Thank you for the reply.

If you read carefully the feature request, this is exactly what I am doing right now.

A quinta, 28/09/2023, 00:50, JonnyTech @.***> escreveu:

Check out the command-line options:

Pass the following arguments: [options]

Where is one of: -f:range -f:random -f:file

is one of: -o filename.txt Text file (txt) -o filename.csv Comma-separated file (csv) -o filename.xml XML file (xml) -o filename.lst IP:Port list (lst) -o filename.sql SQL file (sql) And possible [options] are (grouping allowed): -s start scanning automatically -q quit after exporting the results -a append to the file, do not overwrite — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread.Message ID: ***@***.***>