Skip to content

Issue with cdn-scanner when using a CIDR block #9

@luchua-bc

Description

@luchua-bc

I'm running cdn-scanner to scan an AWS CIDR block:

cdn-scanner -domain {my_instance}.cloudfront.net cloudfront 3.160.0.0/14

And I got the following:

Ulimit # of files open is currently set to 65326
https://3.160.0.0/14 -- Via Proxy: closed (502), Origin: error (000 -- Get "https://3.160.0.0%2F14/": dial tcp: lookup 3.160.0.0/14: no such host)
http://3.160.0.0/14 -- Via Proxy: closed (502), Origin: error (000 -- Get "http://3.160.0.0%2F14/": dial tcp: lookup 3.160.0.0/14: no such host)

It seems that 3.160.0.0/14 is treated as a single IP instead of a CIDR block. What's the correct command?

Thanks,
Luc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions