Giter Site home page Giter Site logo

simpleremote's Introduction

Simple Remote

一个用c/c++写的基于tcp通信的简单远控,写此项目主要是将自己所学的知识融会贯通,仅此而已。

代码健壮性不是非常的高,在输入一些非法的命令格式的时候,有可能会引起崩溃,我也懒得处理了。毕竟这不是我写这个项目的重点。

视频演示: BV1aq4y1e7nU

建立连接

本项目分为客户端(Client.exe) 和服务器端(Server.exe)。因为使用的是反向连接方式,所以必须先启动Server.exe

启动Server.exe,格式 Server.exe port。示例Server.exe 3333,将会监听3333端口

启动Client.exe,格式 Client.exe ip port。示例Client.exe 192.168.0.1 3333。将会连接192.168.0.1的3333端口

支持功能

help

查看支持命令, 格式 help

upload

上传本地文件到对方机器。格式 upload filepath

download

下载对方机器文件到本地。格式 download filepath

ps

列出正在运行的进程,格式 ps

getpid

获取当前进程pid,格式 getpid

drive

列出盘符,格式 drive

screen

屏幕截图,格式 screen

nc

反弹nc,格式 nc ip port

msf

反弹msf,支持windows/meterpreter/reverse_tcpwindows/x64/meterpreter/reverse_tcp。如果使用x64需要将程序生成x64后方可使用,并且需要等待差不多一分钟才能反弹成功。格式 msf ip port

getsystem

从管理员提权到system,格式 getsystem,如果提权成功会打开一个新窗口

待完善

1.反弹msf功能,因为在client.exe启动了一个msf的子线程,所以msf退出或者client.exe退出。都会导致对方程序崩溃,后续会考虑使用傀儡进程(已完成)

2.流量层进行加密

3.添加bypassuac功能

4.添加端口转发功能

5.添加内网存活主机扫描功能

6.先阶段只能连接一个客户端,后续考虑支持多个客户端 (最后考虑)

7.支持交互式shell (最后考虑)

simpleremote's People

Contributors

snowmeteors avatar

Stargazers

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

Watchers

 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.