Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/dsnezhkov/octohook
Web SecurityPenetration TestingCommand and ControlRed TeamingPayload Development
GitHubdsnezhkov/octohook

octohook

Git Web Hook Tunnel for C2

View Repository
286369 years agoReviewed by Kitploit
Share

octohook

Git Web Hook Tunnel for C2

Install

# apt-get update && apt-get upgrade -y
# apt-get install python3-pip git -y
# pip install --upgrade pip
# pip install virtualenv
# virtualenv  -p python venv
# . venv/bin/activate
# git clone https://github.com/dsnezhkov/octohook
# pip install prompt_toolkit PyGithub bottle pygments pyaml delegator.py

or

pip install -r doc/requirements.txt

Setup

  • Login as sevice GH account.

  • Generate app teken as per: https://github.com/settings/tokens/new

  • update git_app_token: '86c0ec38b90909c4fbb1cf7f4e20c8f7f451' in config/client.yml and config/server.yml

  • set your agent ids on server and client Eg. agentid: 'b932e9f5'

  • generate keys/server.pem

    ./utils/cr_cert.sh

  • First client or server creates the repo git_repo_name: 'rendezvous'

  • Setup initial webhook(s): https://github.com/your-id/rendezvous/settings/hooks/new

    Set Payload URL: https://IP-or-HOST:PORT/route/ where IP is the IP of your OC web service, PORT it listens on, and /route/ is the hook route specified in hook_route: '/server/' directive in configuration file.

    Set: Content-type: application/json " By default, we verify SSL certificates when delivering payloads. " Disable for demo, enable in prod (letsencrypt) you can opt to receive all events but you may just 'Choose Let me select individual events.'
    OC needs at a minimum: "Issue comment", "Issues". Make sure you start your octohook server on the Payload URL above upon Webhook creation. IF set to "Active" "We will deliver event details when this hook is triggered." a ping registration request will be sent out to the OC server.

    Once you see "Green checkmark" in webhooks, you are registered. If not - check your params, and "redeliver" the ping.

    Repeat setup for other webhooks if needed ( bidirectional RTM and swarm (future) )

Start Server:

python octohook.py ./config/server.yml

Start Client

python octohook.py ./config/client.yml

TODO

  • fix file put on python3
  • open issue with delegator.p maintainer on .chain methon under python3
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    547
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    309
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    282

Explore all tools

Browse our collection of tools

View all tools →