![]() |
|
[.NET] [VERY BAD CODE]Basic .NET RAT .Coder. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [VERY BAD CODE]Basic .NET RAT .Coder. (/showthread.php?tid=3769482) Pages: Pages
1
2
|
[VERY BAD CODE]Basic .NET RAT .Coder. - .Coder. - Sep 23, 2013 THIS IS VERY BAD CODE BUT YOU CAN USE IF YOU WANT.Basic .NET RAT(Its not the best) IF you dont like don't hate! find someone else to criticize Hello HF users! Today I'm going to teach you how to make a basic .NET RAT. Here are a Few pictures of my RAT. Remember its basic. Spoiler (Click to View) Right lets get started! Firsts things first Create a new Project in Visual Studio or what ever you have and name it "server" without "" Double click the form to get on the coding page. Okays at the very top type this: Code Imports System.NetNow under Form1 type: Code Dim port As Integer = 6961To do that we have to make a listen sub but this un what you just did: Code Private Sub listen()Code Private Sub check()Code If id(0) = 0 ThenAll we have to do now is add the Form1 code: Code Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.LoadThis is the Sever done! just build and save. Lets get on with the Client You can have yours anyway you like, I choose my design because I like it to look cool with this feature: ![]() What you need: 4 textbox's 3 buttons 1 label First we need to import our stuffff, At the top type : Code Imports System.NetNow under where it says "Public class Form1" type Code Dim sock As New TcpClient()Now we make a new Sub: Code Private Sub connect()New sub: Code Private Sub dat(ByVal dat As String)This allows the client to connect to the IP. Now for the buttons: Button1 Code connect()Button2 Code dat("0*" + TextBox3.Text)Button3 Code dat("1*" + TextBox4.Text)I have other features with the Me.close button as you can see In the GIF. allow set your text boxs curser To the blocked sign so it is blocked untill You connect. Full Source. Server: Code Imports System.NetClient: Code Imports System.NetThank you for Taking this in hope it help thanks to --([-S7N-])--For some code. My project, Just the client not there server or Post asking for it and ill PM you both. DOWNLOAD VIA DROPBOX: https://www.dropbox.com/s/tdcjzg9b4becjna/Client.rar Please dont copy my thread It took alot of time to make this!!!! Thanks! .Coder. * - Asp1r3-At0m - Sep 23, 2013 Nice TUT man, With this basics is easy to introduce to "hard" and advanced things. Keep learning! :D * - .Coder. - Sep 23, 2013 (Sep 23, 2013 11:38 AM)Asp1r3-At0m Wrote: Nice TUT man, With this basics is easy to introduce to "hard" and advanced things. Thanks man means alot and yes it does help people and me get a better understanding of RAT's now people can add there own features. :) * - Madara-Uchiha - Sep 23, 2013 Looks good, I hoped you havent just copy-pasted this tutorial. If you made it yourself, good job!:) * - .Coder. - Sep 23, 2013 (Sep 23, 2013 11:45 AM)Madara-Uchiha Wrote: Looks good, I hoped you havent just copy-pasted this tutorial. I can swear one my life I made it my self took 1 hour too as I was watch Dexter at the same time + GIF aha. Thanks though!!! * - Only3 - Sep 23, 2013 this is old u should move to async socket * - x64 - Sep 23, 2013 You didn't even use an serialization, using a split is a very bad method. I'd recommend you learning async sockets, and please use some OOP code. * - ubbelol - Sep 23, 2013 This is taken straight from an oold RAT source which is really shitty. People, please don't use this source. * - Dark_Noodles - Sep 23, 2013 Why is this not reverse connection? If you're using this method, then you would have to retrieve the victim's IP in order to "hack" them. * - .Coder. - Sep 23, 2013 Its a finished RAT, Its for people to learn from. And there is nothing wrong with it read the title, "BASIC .NET RAT". Sorry for disappointing. * - ubbelol - Sep 23, 2013 (Sep 23, 2013 12:40 PM).Coder. Wrote: Its a finished RAT, Its for people to learn from. And there is nothing wrong with it read the title, "BASIC .NET RAT". Sorry for disappointing. Calling it "basic" doesn't justify teaching people horrible habits. * - .Coder. - Sep 23, 2013 (Sep 23, 2013 12:42 PM)UbbeLoL Wrote: Calling it "basic" doesn't justify teaching people horrible habits.Dont mean you have do be mean about it. Its nice for people that dont know. And to mess around with. * - TheBarret - Sep 23, 2013 (Sep 23, 2013 12:33 PM)UbbeLoL Wrote: This is taken straight from an oold RAT source which is really shitty. People, please don't use this source. What Ubbe said, don't use this as example. * - .Coder. - Sep 23, 2013 (Sep 23, 2013 12:43 PM)TheBarret Wrote: What Ubbe said, don't use this as example.Can you please explain what is wrong with it? * - ubbelol - Sep 23, 2013 (Sep 23, 2013 12:43 PM).Coder. Wrote: Dont mean you have do be mean about it. Its nice for people that dont know. And to mess around with. I'm not being mean, I'm trying to keep people from learning from bad examples. It's especially bad for people who are new to networking in C#, it's better to just learn it the correct way from the beginning.. |