Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qianbinbin/ip-blacklist-bjos_cn
Retrieve bad IP addresses from https://bjos.cn daily.
https://github.com/qianbinbin/ip-blacklist-bjos_cn
Last synced: about 1 month ago
JSON representation
Retrieve bad IP addresses from https://bjos.cn daily.
- Host: GitHub
- URL: https://github.com/qianbinbin/ip-blacklist-bjos_cn
- Owner: qianbinbin
- License: mit
- Created: 2023-05-14T05:05:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-16T11:44:39.000Z (8 months ago)
- Last Synced: 2024-10-23T12:55:35.253Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 78.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IP Blacklist from bjos.cn
Retrieve bad IP addresses from https://bjos.cn daily.
## Usage
To get all bad IP addresses, run:
```sh
$ curl --compressed -fsSL https://raw.githubusercontent.com/qianbinbin/ip-blacklist-bjos_cn/master/all.txt
```To get 100000 worst IP addresses, run:
```sh
$ curl --compressed -fsSL https://raw.githubusercontent.com/qianbinbin/ip-blacklist-bjos_cn/master/all-count.txt 2>/dev/null | head -n 100000 | cut -f 1
```To get IP addresses appear on at least 10 lists, run:
```sh
$ curl --compressed -fsSL https://raw.githubusercontent.com/qianbinbin/ip-blacklist-bjos_cn/master/all-count.txt | awk '$2>=10' | cut -f 1
```## Credits
- https://bjos.cn
- [ipset-blacklist](https://github.com/trick77/ipset-blacklist)
- [ipsum](https://github.com/stamparm/ipsum)