Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

How Can You Add A Gui To A Rat

So i was a victim of a rat and when i opened the rat it had a working gui, so i was wondering how i could do this for this simple text spammer i made.

Here the gui layout for the spammer https :// gyazo .com /992149d0611dafd8db6b941946b803f1

Code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SSGSpammer
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            Counter.Start();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            Counter.Stop();
        }

        private void Counter_Tick(object sender, EventArgs e)
        {
            SendKeys.Send(textBox1.Text);
            SendKeys.Send("{ENTER}");
        }
    }
}
the project looks like its made in Visual studio because of the random empty voids

it has a build in GUI builder, as long as you choose winForm app
[Image: YFNJZfM.gif]
(Jun 10, 2017 01:02 PM)Jopemeister Wrote:  the project looks like its made in Visual studio because of the random empty voids

Lol wot?
(Jun 10, 2017 01:02 PM)Jopemeister Wrote:  the project looks like its made in Visual studio because of the random empty voids

it has a build in GUI builder, as long as you choose winForm app


It doesn't seem like he knows from this post. From what I gather though, he's recommending that you use the built-in visual studio form designer.
1. start a new project in visual studio, a windows form application.

2. double click the form (or press f7) to bring up the code.

3. add these to the top of the form:
Quote:
Code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;


4. add a button (do not rename it, dont do anything, just add it to the form)
5. add a textbox (do not rename it, dont do anything to it)
6. add a timer to the form, rename the timer to "Counter"

7. paste this code (its from the code you pasted before)
Code
private void button1_Click(object sender, EventArgs e)
        {
            Counter.Start();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Counter.Stop();
        }

        private void Counter_Tick(object sender, EventArgs e)
        {
            SendKeys.Send(textBox1.Text);
            SendKeys.Send("{ENTER}");
        }

I didnt even open my IDE for this. all this is going to do is have the first button start the timer, when the timer starts the textbox will start filling up with CRLF's (the enter key). if you press the second button it will stop.

This is not a spammer, people wanting to build a website spammer, cell phone spammer, or any other kind of spammer should PM me, depending on how many requests I get depends on whether or not I will build and give one away.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by CryptMay 28, 2018 07:49 PM 9 263 May 28, 2018 07:49 PM
Last Post: quarkE
[.NET] by GoogleRezzzAug 19, 2015 10:34 PM 2 275 Aug 19, 2015 10:34 PM
Last Post: GoogleRezzz
[.NET] by ChessoMar 11, 2015 08:50 AM 7 289 Mar 11, 2015 08:50 AM
Last Post: ElementalTree