GithubHelp home page GithubHelp logo

hartl3y94 / sak1to-shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d4rk007/sak1to-shell

0.0 0.0 0.0 16 KB

Multi-threaded, multi-os/platform (Linux/Windows) c2 server and Windows reverse TCP shell client both written in C.

C 100.00%

sak1to-shell's Introduction

sak1to-shell

Multi-threaded, multi-os/platform (Linux/Windows) c2 server and Windows reverse TCP shell client both written in C.

Compiling reverse TCP shell client with i686-w64-mingw32-gcc:

i686-w64-mingw32-gcc sakito_revshell.c lib/windows/sakito_win_core.c -o sakito_revshell.exe -s -ffunction-sections -fdata-sections -fno-exceptions -fmerge-all-constants -static-libgcc -lws2_32 -D PORT=<port_number> -D HOST=\"<server_ipv4_address>\"

Compiling reverse TCP shell with cl.exe within Developer command prompt:

cl.exe sakito_revshell.c lib/windows/sakito_win_core.c /D PORT=<port_number> /D HOST=\"<server_ipv4_address>\"

Compiling Linux server with GCC:

gcc -pthread sakito_server.c lib/sakito_server_tools.c lib/linux/sakito_slin_utils.c -o sakito_server -D PORT=<port_number>

Compiling Windows server with cl.exe within Developer command prompt:

cl.exe sakito_server.c lib/windows/sakito_win_core.c lib/sakito_server_tools.c lib/windows/sakito_swin_utils.c /D PORT=<port_number>

Command list:

  • list: list available connections.

  • interact [id]: interact with client.

  • download [filename]: download a file from the client's filesystem to the server's filesystem.

  • upload [filename]: upload a file from the server's filesystem to the client's filesystem.

  • background: background client.

  • exit: terminate client or host.

  • cd [dir]: change directory on client or host.

alt text

sak1to-shell's People

Contributors

d4rk007 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.