__ ___ _
/\ /\_ _/ _\_ __/ _ \_ _| |__
/ /_/ / | | \ \\ \ /\ / / /_)/ | | | '_ \
/ __ /| |_| |\ \\ V V / ___/| |_| | |_) |
\/ /_/ \__, \__/ \_/\_/\/ \__,_|_.__/
|___/ PoC BETA
HySwPub is a proof of concept (PoC) for a decentralized peer-to-peer (P2P) botnet using Hyperswarm. This project demonstrates how nodes (referred to as "clients" and "slaves") can discover each other and communicate through topic-based networking.
⚠️ DISCLAIMER: This project is intended solely for educational and research purposes. The author does not condone or support any form of malicious activity. You are fully responsible for how you choose to use this code.
⚖️ Legal Disclaimer: Dear STF... This code is provided "as is" without any warranties. It is designed strictly for educational and demonstrative purposes. The author is not responsible for any damages or legal consequences resulting from misuse.
- Decentralized command-and-control using Hyperswarm
- Topic-based peer discovery (
clientandslaveroles) - Heartbeat system for client/slave status tracking
- Remote command execution on slave peers
- Real-time CLI feedback and connection status
git clone https://github.com/Niximkk/hyswpub.git
cd hyswpub
npm installnode .\src\client.jsThis will:
- Join both client and slave topics
- Provide a command-line interface
- Send commands to all connected slave nodes
node .\src\slave.jsThis will:
- Join the slave topic
- Respond to heartbeats
- Execute commands received from the client
Copyleft (C) 2025 Nix
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.