Patron

module
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2025 License: Apache-2.0

README

GitHub last commit Lines of code GitHub code size in bytes GitHub go.mod Go version

Patron

A Command and Control Framework made in Go.

Features

  • Functional web interface
  • Keylogger
  • TLS C2 communication
  • Swappable/Flexible Agent
  • Discord Bot
  • Wrapped in docker

Install

  • Run git clone https://github.com/PatronC2/Patron.git
  • Run ./install.sh -d -p -s <your-ip> for fresh install
Options:
  -d    Use default options
  -w    Wipe Database
  -s    <your_ip_address>   Server Ip address
  -b    Set up the discord bot
  -p    Prompts you to enter passwords
  -h    Show this help message

Bugs

Creating Discord bot

  • Go to discord dev portal
  • create new application (not actual bot)
  • go to bot tab
  • add bot (username , icon, uncheck public bot, check message content intent)
  • Set Installation Contexts to User Install and Guild Install
  • grab token (reset token, save for later)
  • generate url to add to server, with permissions like https://discord.com/oauth2/authorize?client_id=<your-client-id>&permissions=8&scope=bot+applications.commands&permissions=139586766912
    • go to oauth2 -> url generator (check bot)
    • check (read messages/view Channels, send messages, embed links, send messages in thread) #VERY IMPORTANT
    • copy and open url in new tab
    • add bot to each server

Credits

Directories

Path Synopsis
client
lib
logger
Utility functions for logging messages and errors
Utility functions for logging messages and errors

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL