https://github.com/crowdsecurity/crowdsec-fire-tool
https://github.com/crowdsecurity/crowdsec-fire-tool
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crowdsecurity/crowdsec-fire-tool
- Owner: crowdsecurity
- Created: 2023-02-14T09:54:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T09:12:43.000Z (about 3 years ago)
- Last Synced: 2025-03-01T16:39:16.869Z (about 1 year ago)
- Language: Shell
- Size: 23.4 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Crowdsec Fire_tool
A simple wrapper around the pkg/cticlient to generate IP's from firedatabase as newline delimeted file.
#### Go Install
```
go install "github.com/crowdsecurity/crowdsec-fire-tool"
```
Make sure "~/go/bin/" is within your $PATH
#### Manual Installation
```bash
git clone https://github.com/crowdsecurity/crowdsec-fire-tool
go build
chmod +x crowdsec-fire-tool
install -m 600 crowdsec-fire-tool /usr/bin/
```
Usage
```bash
sudo CROWDSEC_FIRE_CTI_KEY=XXXXXX -o /var/lib/crowdsec/data/fire.txt crowdsec-fire-tool
```
#### Environment
#### CROWDSEC_FIRE_CTI_KEY
This is CTI key generated from [console](https://app.crowdsec.net/cti)
#### CROWDSEC_FIRE_OUTPUT
This is the desired output folder
#### Arguments
`--cti-key`
This is CTI key generated from [console](https://app.crowdsec.net/cti)
`-o | --output`
This is the desired output location