Categorygithub.com/EpykLab/chx
modulepackage
2.0.1+incompatible
Repository: https://github.com/epyklab/chx.git
Documentation: pkg.go.dev

# README

🛠️ CHX

📘 Introduction

CHX is a Golang based CLI for domain research, file hashes, 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 alienvault <domain-name>
  • chx hash [alientvault, vthash] <hash>
  • chx ip [aipdb, alienvault, crowdsec] <ip-address>

✨ Features

  • 🌐 Domain analysis
  • 🔑 File hashing
  • 📡 IP address lookup
  • 🔗 Integration with VirusTotal, CrowdSec, AlientVault, and AbuseIPDB
  • ⚙️ Configurable via JSON
  • 🖥️ 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.

configure chx with json

🌐 Domain Analysis

chx domain alientvault example.com

domain checks

🔑 File Hashing

chx hash vthash <hash>

Chx can work with pipes to take hash values from standard input. In order to be as unix friendly as possible, chx also outputs to stdout so that output can be piped into other tools.

using chx with pipes

📡 IP Lookup

chx ip crowdsec 8.8.8.8

Basic IP lookups (uses alientvault) basic ip checks

💎 Pretty Print Results

All commands now implement a --format option that will format the results of a search into markdown format. pretty

🔧 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

MIT

📣 Release Announcments

Follow our Telegram channel to stay up to date with the latest news and tool releases from EpykLab!

telegram channel QR Code

# Packages

Copyright © 2024 [email protected] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.