The CipherSwarm Go Agent is a high-performance component of the CipherSwarm ecosystem, designed to manage and execute distributed hash cracking tasks efficiently. Built in Go, this agent provides a robust solution for scaling and managing cryptographic computations across the CipherSwarm network.
- Command-Line Interface: Utilizes the Cobra library for easy configuration and operation through command-line commands.
- Efficient Task Management: Streamlines the distribution and execution of hash cracking tasks across distributed systems.
- Scalable and High-Performance: Optimized for performance and scalability, handling heavy computational tasks with ease.
- Secure Communication: Ensures secure and reliable communication with the CipherSwarm server for task distribution and result submission.
Caution
This project is currently under active development and is not yet ready for production use. Please use it with caution. Do not trust anything until v1.0.0 is released, since the API may change at any time.
Follow these instructions to set up and run the CipherSwarm Agent in your environment.
- Go 1.22 or higher
- Git (for cloning the repository)
- Docker (optional, for running the agent in a container)
- A CipherSwarm server to connect to (e.g., a local or remote instance)
- Clone the repository:
git clone https://github.com/unclesp1d3r/cipherswarm-agent.git
cd cipherswarm-agent
- Build the agent using Go:
go build -o cipherswarm-agent
The easiest way to configure the agent is by passing the required parameters as environment variables. The following are the available configuration options:
- API_TOKEN: The API token for the CipherSwarm server. This token is provided when the agent is added in the CipherSwarm server.
- API_URL: The URL of the CipherSwarm server. This is the URL where the CipherSwarm server is running, e.g., https://cipherswarm.example.com:3000.
The agent will automatically create a configuration file in the same directory as the agent (cipherswarmagent.yaml
) with the provided configuration options, along with default options that can be modified as needed.
To start the agent, simply run:
./cipherswarm-agent
This will activate the agent, connecting it to the CipherSwarm network to begin receiving and processing tasks.
The easiest way to run the CipherSwarm Agent is by using Docker. To build the Docker image, run:
docker pull ghcr.io/unclesp1d3r/cipherswarmagent:latest
docker run -d -e API_TOKEN=your_api_token -e API_URL=https://cipherswarm.example.com:3000 unclesp1d3r/cipherswarm-agent
This will start the agent in a Docker container, connecting it to the CipherSwarm network, with hashcat and other dependencies pre-installed.
We welcome contributions! To contribute to the CipherSwarm Go Agent, please fork the repository, create a feature branch, push your changes, and submit a pull request.
Going forward, we will be using Conventional Commits for our commit messages. This will help us automate the release process and generate changelogs. Please follow the commit message format below:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
- The CipherSwarm Team and community for their support and inspiration.
- The creators and maintainers of the Cobra library and GoReleaser for their fantastic tools.
- The developers and contributors to the PhatCrack project, which gave us hints and ideas for this project.