Giter Club home page Giter Club logo

csharpspy's Introduction

csharpspy

一个用C#写的功能简单的Windows远控程序 下载源码使用Visual Studio生成即可,默认使用的是.NET4.0框架,自行更改 注意:部分功能会从 colafox.top 下载组件,第一次使用相关功能时需要保持能连接到 https://colafox.top/

运行前注意

为了避免奇形怪状的bug,程序运行前会删除目录下的所有文件.会有提示询问一次
l6z6C.png

生成一个被控端

程序提供了两种生成方式 使用csc.exe生成 或使用 msbuild.exe 生成
image.png

小白如何操作: 将仓库中 client 文件夹中的 Program.cs 拖入文本框, 或者点击下载源码,输入你的IP地址和端口号, 点击设置即可替换源代码中的地址. 选择勾选隐藏黑框选项 , 点击开始编译即可生成被控端

使用csc.exe生成

默认填写了.NET2.0 的路径,但是注意 .NET2.0 在Windows 10系统中是不会自带的,需要自行切换csc.exe的地址
举几个例子:
.NET 2.0 C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
.NET 3.5 C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe
.NET 4.0 C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
使用csc.exe可以直接将被控端源代码生成出exe程序,简单且快捷
但是我不推荐,这样生成出来的程序容易被杀软查杀,不隐藏黑框还不会被杀

使用msbuild.exe生成

这就和直接用Visual Studio没啥区别了

我推荐的方式

创建一个 Windows窗体应用, 将Program.cs中的相关代码放进去 在窗口加载事件的函数里加载Program.cs的main函数,再加一句 this.Visible = false 来隐藏窗口 这样同样能隐藏窗口 还能免杀 QQ截图20220719004849.png
举一反三,也可以找到开源的C#项目,重复以上操作

csharpspy's People

Contributors

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