diff --git a/README.md b/README.md index ecbf21c..0328f46 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,11 @@ - `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://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)) - `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) -## To be migrated - -- `internet-measurement.com.txt` (List of all IPs declared by internet-measurement.com on [their website](https://internet-measurement.com/#ips)) - ## Other similar projects - https://github.com/szepeviktor/debian-server-tools/tree/master/security/myattackers-ipsets/ipset diff --git a/snow-scanner/src/main.rs b/snow-scanner/src/main.rs index 22d31e6..a2cc04a 100644 --- a/snow-scanner/src/main.rs +++ b/snow-scanner/src/main.rs @@ -29,6 +29,7 @@ enum Scanners { Stretchoid, Binaryedge, Censys, + InternetMeasurement, } trait IsStatic { @@ -39,6 +40,7 @@ impl IsStatic for Scanners { fn is_static(self: &Self) -> bool { match self { Scanners::Censys => true, + Scanners::InternetMeasurement => true, _ => false, } } @@ -52,6 +54,7 @@ impl FromStr for Scanners { "stretchoid.txt" => Ok(Scanners::Stretchoid), "binaryedge.txt" => Ok(Scanners::Binaryedge), "censys.txt" => Ok(Scanners::Censys), + "internet-measurement.com.txt" => Ok(Scanners::InternetMeasurement), _ => Err(()), } } @@ -66,6 +69,7 @@ impl fmt::Display for Scanners { Self::Stretchoid => "stretchoid", Self::Binaryedge => "binaryedge", Self::Censys => "censys", + Self::InternetMeasurement => "internet-measurement.com", } ) } @@ -77,6 +81,7 @@ impl ToSql for Scanners { Self::Stretchoid => Ok("stretchoid".into()), Self::Binaryedge => Ok("binaryedge".into()), Self::Censys => Ok("censys".into()), + Self::InternetMeasurement => Ok("internet-measurement.com".into()), } } }