Skip to content

Niximkk/HySwPub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HySwPub

              __           ___       _
  /\  /\_   _/ _\_      __/ _ \_   _| |__
 / /_/ / | | \ \\ \ /\ / / /_)/ | | | '_ \
/ __  /| |_| |\ \\ 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.

🧪 Features

  • Decentralized command-and-control using Hyperswarm
  • Topic-based peer discovery (client and slave roles)
  • Heartbeat system for client/slave status tracking
  • Remote command execution on slave peers
  • Real-time CLI feedback and connection status

⚙️ Installation

git clone https://github.com/Niximkk/hyswpub.git
cd hyswpub
npm install

🪶 Usage

Start a Client Node

node .\src\client.js

This will:

  • Join both client and slave topics
  • Provide a command-line interface
  • Send commands to all connected slave nodes

Start a Slave Node

node .\src\slave.js

This 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/.

HelloKittyByeBye

About

A Public PoC p2p Botnet using hyperswarm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published