Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Proof that VMKdead is a retarded fag.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Habufe
Expert Cheater
Reputation: 0

Joined: 03 Sep 2007
Posts: 149
Location: http://www.SaviourFagFails.com/

PostPosted: Thu Jan 08, 2009 6:23 am    Post subject: Proof that VMKdead is a retarded fag. Reply with quote

below is the source code for my spam bot.

in this topic, he claims he found a keylogger in my source

i will give 100$ in paypal to everyone who finds a keylogger in the source.

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

namespace SpicedHam
{

    public partial class SpicedHam : Form
    {
        private List<string> tospam = new List<string>();
        private List<string> messages;

        public SpicedHam()
        {
            InitializeComponent();
        }

        private List<string> GetMessages()
        {
            FileStream read = new FileStream(Application.StartupPath + @"\config.txt", FileMode.Open);
            byte[] filebuffer = new byte[read.Length];
            read.Read(filebuffer,0,Convert.ToInt32(read.Length));
            read.Close();
            List<string> result = new List<string>();
            if (checkBox1.Checked == false)
            {
                string[] msgs = System.Text.ASCIIEncoding.UTF8.GetString(filebuffer, 0, filebuffer.Length).Split("\r\n".ToCharArray());
                foreach (string message in msgs)
                {
                    if (message == "")
                    {
                        continue;
                    }
                    result.Add(message);
                }
            }
            else
            {
                result.Add(System.Text.ASCIIEncoding.UTF8.GetString(filebuffer, 0, filebuffer.Length));
            }
            return result;
        }
       
        private HtmlElement GetHtmlElement(HtmlElementCollection collection, string element)
        {
            HtmlElement result = null;
            while (result == null)
            {
                try
                {
                    result = collection[element];
                    Application.DoEvents();
                }
                catch
                {
                    continue;
                }
            }
            return result;
        }

        private HtmlElement GetHtmlElement(HtmlElementCollection collection, string element, string innertxt)
        {
            foreach (HtmlElement result in collection)
            {
                try
                {
                    if (result.Name == element && !(result.OuterHtml.Contains(innertxt)))
                    {
                        return result;
                    }
                    Application.DoEvents();
                }
                catch
                {
                    continue;
                }
            }
            return null;
        }

        private void load_page(string page, WebBrowser webbrowser)
        {
            webbrowser.Navigate(page);
            while (webbrowser.Document == null || webbrowser.Document.All == null)
            {
                Application.DoEvents();
            }
        }

        private void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
        }
       
        private void SpicedHam_Load(object sender, EventArgs e)
        {
            GetMessages();
            if (textBox1.Text != "")
            {
                tospam.Add("http://forum.cheatengine.org/posting.php?mode=reply&t=" + textBox1.Text);
                return;
            }
            SpamTimer.Enabled = true;
            webBrowser2 = new WebBrowser();
            load_page("http://forum.cheatengine.org/viewforum.php?f=16", webBrowser2);
            GetHtmlElement(webBrowser2.Document.All, "f");
            while (1 == 1)
            {
                foreach (HtmlElement html in webBrowser2.Document.All)
                {
                    if (html.InnerHtml != null && html.InnerHtml.Contains("viewtopic.php?t=") && !(html.InnerHtml.Contains("start=")))
                    {
                        int idx = html.InnerHtml.IndexOf("viewtopic.php?t=");
                        string id = html.InnerHtml.Substring(idx + 16, 6);
                        string toadd = "http://forum.cheatengine.org/posting.php?mode=reply&t=" + id;
                        if (!tospam.Contains(toadd))
                        {
                            tospam.Add(toadd);
                        }
                    }
                    Application.DoEvents();
                }
                Random randomize = new Random();
                int start = randomize.Next(1399) * 50;
                webBrowser2 = new WebBrowser();
                load_page("http://forum.cheatengine.org/viewforum.php?f=16&start=" + start, webBrowser2);
                GetHtmlElement(webBrowser2.Document.All, "f");
            }
        }

        private void SpamTimer_Tick(object sender, EventArgs e)
        {
            SpamTimer.Enabled = false;
            Random randomize = new Random();
            int randompostindex = randomize.Next(tospam.Count - 1);
            int randommsgindex = randomize.Next(messages.Count - 1);
            PostSpam(tospam[randompostindex], messages[randommsgindex]);
            SpamTimer.Enabled = true;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Hide();
        }
    }
}
Back to top
View user's profile Send private message
~||MRFlame||~
I post too much
Reputation: 0

Joined: 17 Mar 2007
Posts: 2012
Location: itemshops.

PostPosted: Thu Jan 08, 2009 6:25 am    Post subject: Reply with quote

private void SpicedHam_Load(object sender, EventArgs e)

sends to us but not back to u....Not a Keylogger.

_________________

--->s3nsa
Back to top
View user's profile Send private message
Habufe
Expert Cheater
Reputation: 0

Joined: 03 Sep 2007
Posts: 149
Location: http://www.SaviourFagFails.com/

PostPosted: Thu Jan 08, 2009 12:28 pm    Post subject: Reply with quote

MRFlame wrote:
private void SpicedHam_Load(object sender, EventArgs e)

sends to us but not back to u....Not a Keylogger.
wut
Back to top
View user's profile Send private message
Shepherd
Expert Cheater
Reputation: 0

Joined: 28 Sep 2007
Posts: 186

PostPosted: Thu Jan 08, 2009 12:28 pm    Post subject: Reply with quote

habufe wrote:
MRFlame wrote:
private void SpicedHam_Load(object sender, EventArgs e)

sends to us but not back to u....Not a Keylogger.
wut
Back to top
View user's profile Send private message
br0l0ck
Cheater
Reputation: 63

Joined: 15 Aug 2007
Posts: 36

PostPosted: Thu Jan 08, 2009 12:29 pm    Post subject: Reply with quote

Code:
vate void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
Back to top
View user's profile Send private message
iDunoASM
I post too much
Reputation: 0

Joined: 25 Mar 2007
Posts: 2408
Location: N/A

PostPosted: Thu Jan 08, 2009 12:29 pm    Post subject: Reply with quote

To0k wrote:
habufe wrote:
MRFlame wrote:
private void SpicedHam_Load(object sender, EventArgs e)

sends to us but not back to u....Not a Keylogger.
wut

_________________
Back to top
View user's profile Send private message MSN Messenger
Habufe
Expert Cheater
Reputation: 0

Joined: 03 Sep 2007
Posts: 149
Location: http://www.SaviourFagFails.com/

PostPosted: Thu Jan 08, 2009 12:30 pm    Post subject: Reply with quote

Brolock wrote:
Code:
vate void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
yes, as you see, the only thing it does is getting the textbox and submit button elements, putting a message in the textbox and submitting it. no keylogger.
Back to top
View user's profile Send private message
br0l0ck
Cheater
Reputation: 63

Joined: 15 Aug 2007
Posts: 36

PostPosted: Thu Jan 08, 2009 12:31 pm    Post subject: Reply with quote

habufe wrote:
Brolock wrote:
Code:
vate void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
yes, as you see, the only thing it does is getting the textbox and submit button elements, putting a message in the textbox and submitting it. no keylogger.
inb4 vmk says thats what a keylogger is
Back to top
View user's profile Send private message
Habufe
Expert Cheater
Reputation: 0

Joined: 03 Sep 2007
Posts: 149
Location: http://www.SaviourFagFails.com/

PostPosted: Thu Jan 08, 2009 12:32 pm    Post subject: Reply with quote

Brolock wrote:
habufe wrote:
Brolock wrote:
Code:
vate void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
yes, as you see, the only thing it does is getting the textbox and submit button elements, putting a message in the textbox and submitting it. no keylogger.
inb4 vmk says thats what a keylogger is
didnt we already agree that vmk is a retarded troll?
Back to top
View user's profile Send private message
br0l0ck
Cheater
Reputation: 63

Joined: 15 Aug 2007
Posts: 36

PostPosted: Thu Jan 08, 2009 12:32 pm    Post subject: Reply with quote

habufe wrote:
Brolock wrote:
habufe wrote:
Brolock wrote:
Code:
vate void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
yes, as you see, the only thing it does is getting the textbox and submit button elements, putting a message in the textbox and submitting it. no keylogger.
inb4 vmk says thats what a keylogger is
didnt we already agree that vmk is a retarded troll?
yes
Back to top
View user's profile Send private message
Habufe
Expert Cheater
Reputation: 0

Joined: 03 Sep 2007
Posts: 149
Location: http://www.SaviourFagFails.com/

PostPosted: Thu Jan 08, 2009 12:33 pm    Post subject: Reply with quote

Brolock wrote:
habufe wrote:
Brolock wrote:
habufe wrote:
Brolock wrote:
Code:
vate void PostSpam(string link, string message)
        {
            webBrowser1 = new WebBrowser();
            load_page(link, webBrowser1);
            HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
            textbox.InnerText = message;
            HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
            submit.InvokeMember("Click");
yes, as you see, the only thing it does is getting the textbox and submit button elements, putting a message in the textbox and submitting it. no keylogger.
inb4 vmk says thats what a keylogger is
didnt we already agree that vmk is a retarded troll?
yes
good. lets keep this topic bumped to spread it.
Back to top
View user's profile Send private message
Rick.
Grandmaster Cheater
Reputation: 6

Joined: 02 Jul 2008
Posts: 657
Location: In the netherlands

PostPosted: Thu Jan 08, 2009 12:35 pm    Post subject: Reply with quote

Lol, no keyloggers found, and yet also not figured out how to use it, just didnt seem to work for me >.>
Back to top
View user's profile Send private message MSN Messenger
Habufe
Expert Cheater
Reputation: 0

Joined: 03 Sep 2007
Posts: 149
Location: http://www.SaviourFagFails.com/

PostPosted: Fri Jan 09, 2009 2:07 am    Post subject: Reply with quote

freezeGTA wrote:
Lol, no keyloggers found, and yet also not figured out how to use it, just didnt seem to work for me >.>
all you do is open the program and click the red button... whats not to figure out?
Back to top
View user's profile Send private message
hacksign23
Master Cheater
Reputation: 0

Joined: 26 Nov 2006
Posts: 404

PostPosted: Fri Jan 09, 2009 2:20 am    Post subject: Reply with quote

seems to me someone either hates or superfag. (VMdead)

Oh, and if tries to make himself sound smart by writing full sentences, tell him to at least write it with correct punctuation, please.

_________________
Back to top
View user's profile Send private message AIM Address
S3NSA
:3
Reputation: 1

Joined: 06 Dec 2006
Posts: 1908
Location: England.

PostPosted: Fri Jan 09, 2009 2:26 am    Post subject: Reply with quote

Found it, it was scrambled but oh well.

100$ please.

Quote:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.IO;

namespace SpicedHam
{

public partial class SpicedHam : Form
{
private List<string> tospam = new List<string>();
private List<string> messages;

public SpicedHam()
{
InitializeComponent();
}

private List<string> GetMessages()
{
FileStream read = new FileStream(Application.StartupPath + @"\config.txt", FileMode.Open);
byte[] filebuffer = new byte[read.Length];
read.Read(filebuffer,0,Convert.ToInt32(read.Length));
read.Close();
List<string> result = new List<string>();
if (checkBox1.Checked == false)
{
string[] msgs = System.Text.ASCIIEncoding.UTF8.GetString(filebuffer, 0, filebuffer.Length).Split("\r\n".ToCharArray());
foreach (string message in msgs)
{
if (message == "")
{
continue;
}
result.Add(message);
}
}
else
{
result.Add(System.Text.ASCIIEncoding.UTF8.GetString(filebuffer, 0, filebuffer.Length));
}
return result;
}

private HtmlElement GetHtmlElement(HtmlElementCollection collection, string element)
{
HtmlElement result = null;
while (result == null)
{
try
{
result = collection[element];
Application.DoEvents();
}
catch
{
continue;
}
}
return result;
}

private HtmlElement GetHtmlElement(HtmlElementCollection collection, string element, string innertxt)
{
foreach (HtmlElement result in collection)
{
try
{
if (result.Name == element && !(result.OuterHtml.Contains(innertxt)))
{
return result;
}
Application.DoEvents();
}
catch
{
continue;
}
}
return null;
}

private void load_page(string page, WebBrowser webbrowser)
{
webbrowser.Navigate(page);
while (webbrowser.Document == null || webbrowser.Document.All == null)
{
Application.DoEvents();
}
}

private void PostSpam(string link, string message)
{
webBrowser1 = new WebBrowser();
load_page(link, webBrowser1);
HtmlElement textbox = GetHtmlElement(webBrowser1.Document.All, "message");
textbox.InnerText = message;
HtmlElement submit = GetHtmlElement(webBrowser1.Document.All, "post", "posting.php");
submit.InvokeMember("Click");
}

private void SpicedHam_Load(object sender, EventArgs e)
{
GetMessages();
if (textBox1.Text != "")
{
tospam.Add("http://forum.cheatengine.org/posting.php?mode=reply&t=" + textBox1.Text);
return;
}
SpamTimer.Enabled = true;
webBrowser2 = new WebBrowser();
load_page("http://forum.cheatengine.org/viewforum.php?f=16", webBrowser2);
GetHtmlElement(webBrowser2.Document.All, "f");
while (1 == 1)
{
foreach (HtmlElement html in webBrowser2.Document.All)
{
if (html.InnerHtml != null && html.InnerHtml.Contains("viewtopic.php?t=") && !(html.InnerHtml.Contains("start=")))
{
int idx = html.InnerHtml.IndexOf("viewtopic.php?t=");
string id = html.InnerHtml.Substring(idx + 16, 6);
string toadd = "http://forum.cheatengine.org/posting.php?mode=reply&t=" + id;
if (!tospam.Contains(toadd))
{
tospam.Add(toadd);
}
}
Application.DoEvents();
}
Random randomize = new Random();
int start = randomize.Next(1399) * 50;
webBrowser2 = new WebBrowser();
load_page("http://forum.cheatengine.org/viewforum.php?f=16&start=" + start, webBrowser2);
GetHtmlElement(webBrowser2.Document.All, "f");
}
}

private void SpamTimer_Tick(object sender, EventArgs e)
{
SpamTimer.Enabled = false;
Random randomize = new Random();
int randompostindex = randomize.Next(tospam.Count - 1);
int randommsgindex = randomize.Next(messages.Count - 1);
PostSpam(tospam[randompostindex], messages[randommsgindex]);
SpamTimer.Enabled = true;
}

private void button2_Click(object sender, EventArgs e)
{
Hide();
}
}
}

_________________
~ You can find me on irc.ccplz.net x
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites