Hack Forums
[.NET] How Can You Add A Gui To A Rat - 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] How Can You Add A Gui To A Rat (/showthread.php?tid=5643705)



How Can You Add A Gui To A Rat - DailyTrends - Jun 10, 2017

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}");
        }
    }
}



* - Jopemeister - Jun 10, 2017

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


* - +Haze - Jun 10, 2017

(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?


* - sepluv - Jun 10, 2017

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


* - fxbghacker - Jun 10, 2017

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.