Tuesday 27 August 2013 photo 2/2
|
Här är min dayviews spam sender, kodad i C#.
Inte speciellt mkt kod, men den gör jobbet!
//Start
private void button2_Click(object sender, EventArgs e)
{
foreach (var user in listBox1.Items)
{
listBox2.Items.Clear();
webBrowser1.Navigate("http://dayviews.com/?&action=login&user=" + textBox2.Text + "&pass=" + textBox3.Text + "&json=1");
Thread.Sleep(500);
webBrowser2.Navigate("http://dayviews.com/?action=addMessage&reciptient=" + user.ToString() + "&txt=" + textBox1.Text + "&json=1");
Thread.Sleep(1000);
listBox2.Items.Add("User = " + user.ToString() + " UserCount = " + listBox2.Items.Count.ToString());
}
MessageBox.Show( "Klar med " + listBox2.Items.Count.ToString() + "!" );
}
private void button2_Click(object sender, EventArgs e)
{
foreach (var user in listBox1.Items)
{
listBox2.Items.Clear();
webBrowser1.Navigate("http://dayviews.com/?&action=login&user=" + textBox2.Text + "&pass=" + textBox3.Text + "&json=1");
Thread.Sleep(500);
webBrowser2.Navigate("http://dayviews.com/?action=addMessage&reciptient=" + user.ToString() + "&txt=" + textBox1.Text + "&json=1");
Thread.Sleep(1000);
listBox2.Items.Add("User = " + user.ToString() + " UserCount = " + listBox2.Items.Count.ToString());
}
MessageBox.Show( "Klar med " + listBox2.Items.Count.ToString() + "!" );
}
Annons