imgur_id7
Fast tool to scan for valid 7-long imgur ids for the ArchiveTeam imgur efforts (not affiliated or endorsed)
Optionally uses supplied http proxies to scan many ids in parallel since imgur does have rate limiting.
Generates ids at random since there's too many ids to reasonably scan in order anyways.
Usage
Usage: imgur_id7 [OPTIONS]
Options:
-r, --results-file <RESULTS_FILE>
Where to save found results
-p, --proxy-file <PROXY_FILE>
This specifies an optional list of http proxies to use
Proxy list file has the format of 'PROXY_HOST:PROXY_PORT:PROXY_USER:PROXY_PASSWORD' with one entry per line
So for example 'proxy.example.com:1234:username:password123'
For each entry, one worker will be spawned.
-o, --offline
If used, results will not be reported automatically
--online-tracker-url <ONLINE_TRACKER_URL>
Url to an alternative result tracker, results are POST'ed to the url with a json body
in the format of {"images_found": ["AsDfgHi", "7654321", "1234567", ...]}
Defaults to nicolas17's tracker
-c, --concurrent <CONCURRENT>
How many requests to queue per second (actual rate will be slightly lower) [default: 3]
--concurrent-unsafe
Bypass concurrency sanity check
-h, --help
Print help
-V, --version
Print version
Building
Github Actions are set up to provide builds, but especially the linux ones might not run on your distro
Building is easy though!
- Install rust
- Install your platforms compiler toolchain (for debian-based distros this would be
apt install build-essential
, for windows this might be MSVC) - Clone this repo or download it as a .zip
- Run
cargo build --release
* and grab the resulting binary fromtarget/release/imgur_id7
- Success!
*You might have to install library headers like libssl-dev
and pkg-config
, but the build process will complain accordingly