2 Commits

Author SHA1 Message Date
543a7fd3f1 New collections
Some checks failed
Build IP lists / Build scanners list (binaryedge) (push) Failing after 7m6s
Build IP lists / Build scanners list (stretchoid) (push) Failing after 7m40s
Build IP lists / build-aws-cloudfront (push) Failing after 1m36s
2024-06-29 14:28:23 +02:00
cf05597a30 Cleanup the not finished tasks 2024-06-28 19:07:13 +02:00
4 changed files with 14 additions and 1 deletions

View File

@ -2,12 +2,20 @@
## Security lists
### Scanners
- `https://security.wdes.eu/scanners/stretchoid.txt` (List of all known stretchoid IPs)
- `https://security.wdes.eu/scanners/binaryedge.txt` (List of all known binaryedge IPs)
- `https://security.wdes.eu/scanners/censys.txt` (List of all IPs declared by censys scanner on their [FAQ](https://support.censys.io/hc/en-us/articles/360043177092-Opt-Out-of-Data-Collection)
- `https://security.wdes.eu/scanners/internet-measurement.com.txt` (List of all IPs declared by internet-measurement.com on [their website](https://internet-measurement.com/#ips))
### Collections (by vendor)
- `https://security.wdes.eu/collections/wdes/bad-networks.txt` (List of some hand picked bad networks)
- `https://security.wdes.eu/collections/bad-ips.txt` (List of some hand picked bad IPs that caused harm/attacks/scans to mail servers)
- `https://security.wdes.eu/collections/wdes/bad-ips.txt` (List of some hand picked bad IPs that caused harm/attacks/scans to mail servers)
- `https://security.wdes.eu/collections/microsoft/email-servers.txt` (List of the Microsoft IPs for it's mail servers)
- `https://security.wdes.eu/collections/amazon/cloudfront-ips.txt` (List of AWS CloudFront IPs)
## Other similar projects

View File

@ -545,6 +545,11 @@ fn main() -> Result<()> {
thread::spawn(move || {
let conn = get_connection(db_file.as_str());
// Reset scan tasks
let _ = conn.execute("UPDATE scan_tasks SET updated_at = :updated_at, still_processing_at = NULL, started_at = NULL WHERE (still_processing_at IS NOT NULL OR started_at IS NOT NULL) AND ended_at IS NULL",
named_params! {
":updated_at": Utc::now().naive_utc().to_string(),
}).unwrap();
loop {
let mut stmt = conn.prepare("SELECT task_group_id, cidr FROM scan_tasks WHERE started_at IS NULL ORDER BY created_at ASC").unwrap();