Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.08 KB

README.md

File metadata and controls

15 lines (12 loc) · 1.08 KB

hitlist-downloader

This small python script will download the latest IPv6 hitlist containing IPv6 addresses that got a hit on UDP/53. Have a look at the .env file for configuration. Provide a URL which contains username:password for authentication. The URL should contain the path ipv6-hitlist-service/registered/.

How to use?

  • Pull the latest image
    • sudo docker pull ghcr.io/steffsas/hitlist-downloader:latest
  • Create an environment file .env that contains URL=https://<username>:<password>@<base-url-ipv6hitlist>/ipv6-hitlist-service/registered/
    • Hint: First ask the owner for access to their files, see https://ipv6hitlist.github.io/
    • Alternatively, specify the time at which the download should be executed daily. If this is not desired, simply set the SCHEDULE field to False.
  • Run the Docker container
    • sudo docker run -v $(pwd)/.env:/app/.env -v $(pwd)/output/:/app/output/ ghcr.io/steffsas/hitlist-downloader:latest
    • Hint: You can also use -e URL=<URL> flag, but this will record the credentials in your shell history