Skip to main content

Reverse-shell handler & post-exploitation console — the eights to wraith's aces.

Project description

hickok

A reverse-shell handler and post-exploitation console. Catch shells on multiple listeners, run commands, upgrade to a full PTY, and generate reverse-shell one-liners — from one dependency-free CLI.

It's the other half of a hand: wraith holds the aces — it does the recon and proves the way in; hickok brings the eights — it acts on what wraith caught. Aces and eights, the dead man's hand.

CI Python 3.10+ MIT

Install

pipx install hickok

Or from a clone: pip install -e . — or run it with no install at all: PYTHONPATH=src python3 -m hickok.

Usage

The listener is the default command, so a bare hickok starts catching shells:

hickok                                   # listen on :9001, drop into the console
hickok -l 9001,9002 --lhost 10.10.14.7   # multiple listeners, fixed LHOST
hickok payloads 10.10.14.7 9001          # print reverse-shell one-liners
hickok hand wraith-runs/<run>/findings.json   # act on what wraith caught

Inside the console:

hickok>
  sessions          list connected shells
  payloads          reverse-shell one-liners for your LHOST
  cmd 1 id          run a command on session 1
  upgrade 1         turn a dumb shell into a PTY
  interact 1        attach (detach with Ctrl-])
  kill 1            drop a session

The bridge — hickok hand

Point hickok at a wraith run's findings.json and it reads the table: it lists what wraith found and flags every finding that means code execution (command injection, SSTI, …) — those are the doors to a shell.

hickok hand wraith-runs/target.com-<ts>/findings.json
  [Critical] Command Injection in 'host'   http://target/ping   ⮕ shell
  [High]     SSTI in 'name'                http://target/render ⮕ shell
  [High]     Reflected XSS in 'q'          http://target/search

      ┌─────┐   ┌─────┐   ┌─────┐   ┌─────┐
      │ A♠  │   │ A♣  │   │ 8♠  │   │ 8♣  │
      └─────┘   └─────┘   └─────┘   └─────┘

  aces and eights — the dead man's hand.

wraith deals the aces; hickok brings the eights. The hand is complete.

Disclaimer

Built for authorized security testing and research — point it where you're meant to. What anyone does with it from there is theirs alone; the author takes no responsibility for misuse.

License

MIT.


in memory of J.B. Hickok — shot holding aces and eights, Deadwood, 1876.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hickok-0.1.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hickok-0.1.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file hickok-0.1.0.tar.gz.

File metadata

  • Download URL: hickok-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hickok-0.1.0.tar.gz
Algorithm Hash digest
SHA256 188c2f32e38be3bddc5c378ed0c1397377e1319e3266991f3ddc9ccb940fc590
MD5 8c3ea3f5346526e8448a30f254d6979d
BLAKE2b-256 e11d0b8ad86142084b4d8defb9334ade40b888bcab6efb1d01a0b0dca501a980

See more details on using hashes here.

Provenance

The following attestation bundles were made for hickok-0.1.0.tar.gz:

Publisher: release.yml on gusta-ve/hickok

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hickok-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hickok-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hickok-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58c8bedfdce84145c4c719d95898d0cedd60cc73805150d11bf0aa674a4c606d
MD5 2b020726785854714598872068aa8e64
BLAKE2b-256 3ca391912d2fc24c4754b813aa277f7c0618e4b651f20eda00e5015f215ff06a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hickok-0.1.0-py3-none-any.whl:

Publisher: release.yml on gusta-ve/hickok

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page