mirror of https://github.com/1N3/Sn1per.git
Created Scheduled Scans (markdown)
parent
fc656ad309
commit
9aace0b1eb
|
|
@ -0,0 +1,10 @@
|
|||
To initialize scheduled scans, edit your crontab via the ```crontab -e``` command as 'root' and add the following to your crontab:
|
||||
|
||||
```
|
||||
# m h dom mon dow command
|
||||
0 0 * * * find /usr/share/sniper/loot/workspace/ -type f -name "daily.sh" -exec bash {} \;
|
||||
0 0 * * 0 find /usr/share/sniper/loot/workspace/ -type f -name "weekly.sh" -exec bash {} \;
|
||||
0 0 1 * * find /usr/share/sniper/loot/workspace/ -type f -name "monthly.sh" -exec bash {} \;
|
||||
```
|
||||
|
||||
After your crontab is setup properly, you can simply run the ```sniper -w <workspace_alias> -s daily|weekly|monthly``` command to edit the workspace’s scheduled commands. Just add the full sniper commands you want to run on a schedule (ie. ‘sniper -t 127.0.0.1 -w 127.0.0.1’) and save. That’s it!
|
||||
Loading…
Reference in New Issue