 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Thu Jan 08, 2009 6:23 am Post subject: Proof that VMKdead is a retarded fag. |
|
|
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 |
|
 |
~||MRFlame||~ I post too much
Reputation: 0
Joined: 17 Mar 2007 Posts: 2012 Location: itemshops.
|
Posted: Thu Jan 08, 2009 6:25 am Post subject: |
|
|
private void SpicedHam_Load(object sender, EventArgs e)
sends to us but not back to u....Not a Keylogger.
_________________
|
|
| Back to top |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Thu Jan 08, 2009 12:28 pm Post subject: |
|
|
| 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 |
|
 |
Shepherd Expert Cheater
Reputation: 0
Joined: 28 Sep 2007 Posts: 186
|
Posted: Thu Jan 08, 2009 12:28 pm Post subject: |
|
|
| 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 |
|
 |
br0l0ck Cheater
Reputation: 63
Joined: 15 Aug 2007 Posts: 36
|
Posted: Thu Jan 08, 2009 12:29 pm Post subject: |
|
|
| 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 |
|
 |
iDunoASM I post too much
Reputation: 0
Joined: 25 Mar 2007 Posts: 2408 Location: N/A
|
Posted: Thu Jan 08, 2009 12:29 pm Post subject: |
|
|
| 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 |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Thu Jan 08, 2009 12:30 pm Post subject: |
|
|
| 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 |
|
 |
br0l0ck Cheater
Reputation: 63
Joined: 15 Aug 2007 Posts: 36
|
Posted: Thu Jan 08, 2009 12:31 pm Post subject: |
|
|
| 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 |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Thu Jan 08, 2009 12:32 pm Post subject: |
|
|
| 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 |
|
 |
br0l0ck Cheater
Reputation: 63
Joined: 15 Aug 2007 Posts: 36
|
Posted: Thu Jan 08, 2009 12:32 pm Post subject: |
|
|
| 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 |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Thu Jan 08, 2009 12:33 pm Post subject: |
|
|
| 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 |
|
 |
Rick. Grandmaster Cheater
Reputation: 6
Joined: 02 Jul 2008 Posts: 657 Location: In the netherlands
|
Posted: Thu Jan 08, 2009 12:35 pm Post subject: |
|
|
| Lol, no keyloggers found, and yet also not figured out how to use it, just didnt seem to work for me >.>
|
|
| Back to top |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Fri Jan 09, 2009 2:07 am Post subject: |
|
|
| 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 |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Fri Jan 09, 2009 2:20 am Post subject: |
|
|
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 |
|
 |
S3NSA :3
Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
Posted: Fri Jan 09, 2009 2:26 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|