π οΈ CHX
π Introduction
CHX is a Go-based project providing command-line utilities for domain research, hashing, IP analysis, and other functions. The project includes various commands and integrates with different sources like VirusTotal and CrowdSec.
π Table of Contents
βοΈ Installation
To install CHX, ensure you have Go installed on your machine and run the following commands:
go install github.com/EpykLab/chx@latest
Prebuilt binaries are also available under releases.
π Usage
After installing the project, you can use the CHX command-line tool as follows:
./chx <command> [options]
Example Commands
./chx domain <domain-name>
./chx hash <file-path>
./chx ip <ip-address>
β¨ Features
- π Domain analysis
- π File hashing
- π‘ IP address lookup
- π Integration with VirusTotal and CrowdSec
- βοΈ Configurable via YAML
- π₯οΈ Can take input as argument or stdin
π¦ Dependencies
- πΉ Go (version 1.18 or higher)
- π External APIs for certain functionalities (e.g., VirusTotal, CrowdSec)
π οΈ Configuration
Configuration is managed through a json file. The config file is stored in $HOME/.config/chx/conf.json.
To configure chx, use chx config.
π Domain Analysis
chx domain example.com
π File Hashing
chx hash /path/to/file
π‘ IP Lookup
chx ip 8.8.8.8
π§ Troubleshooting
If you encounter any issues, please check the following:
- Ensure you have the correct API keys in your configuration file.
- Verify your internet connection for API integrations.
- Refer to the logs for any error messages.
π₯ Contributors
π License