Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB8] MSN DP Stealer Tutorial [VB8]
#1
Ok so in this tutorial I will be guiding you through creating your own MSN DP Stealer.
If you do decide to use this in your application, please make sure you give full credits to me. Also I do ask that nobody posts this elsewhere without my permission.

For this tutorial you will need:
- ListBox x1
- PictureBox x1
- Button x3 (Scan, Set as DP, Save)

Firstly we will start off with the Imports,
Code:
Imports System.Drawing.Imaging
Imports MessengerAPI

Note: To import MessengerAPI, go to Project > Add Reference > COM > MessengerAPI.

After importing MessengerAPI you must declare the following,
Code:
Public msn As New MessengerAPI.Messenger

Next up you need to get the location of each display picture & place it in the ListBox,
(Place this under Button1_Click (Scan))
Code:
On Error Resume Next
Dim Locate As String = IO.Path.GetTempPath & "\MessengerCache\"
ListBox1.Items.AddRange(IO.Directory.GetFiles(Locate))

Now you need to display the DP in a picturebox if a user clicks on an item in the listbox or navigates through them with their up & down buttons.
Place the following under ListBox_MouseClick, ListBox_KeyDown & ListBox_KeyUp,
Code:
PictureBox1.ImageLocation = ListBox1.SelectedItem.ToString

Now all there is to do is saving the DP as an image file, & displaying the image as your MSN DP.

To set the image as your MSN DP, place the following under Button2_Click (Set as DP),
Code:
Try
   msn.MyProperty(2) = ListBox1.SelectedItem.ToString
   PictureBox1.ImageLocation = ListBox1.SelectedItem.ToString
   MsgBox("Display picture has been successfully stolen")
Catch ex As Exception
End Try

And finally, to save the DP as an image file, place the following under Button3_Click (Save),
Code:
Dim sfd As New SaveFileDialog
With sfd
            .Filter = "Image Files|*.jpg;*.gif;*.bmp;*.png|All Files|*.*"
            .DefaultExt = ".gif"
            .Title = "Display Picture"
            .FileName = ""
            .FilterIndex = 1
   If .ShowDialog(Me) = Windows.Forms.DialogResult.OK Then
      Select Case .FilterIndex

                Case 1
                        Me.PictureBox1.Image.Save(.FileName, ImageFormat.Jpg)

                Case 2
                        Me.PictureBox1.Image.Save(.FileName, ImageFormat.Gif)

                Case 3
                        Me.PictureBox1.Image.Save(.FileName, ImageFormat.Bmp)

                Case 4
                        Me.PictureBox1.Image.Save(.FileName, ImageFormat.Png)

       End Select
   End If
End With

And thats everything!
Your final result should look something like this,
[Image: DPimage.jpg]

Thanks,
Jack
Reply


Messages In This Thread
[VB8] MSN DP Stealer Tutorial [VB8] - by Fragma - 08-08-2010, 07:48 AM
RE: [VB8] MSN DP Stealer Tutorial [VB8] - by mmki - 08-11-2010, 05:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] Resistance 24 12,512 08-30-2012, 10:14 PM
Last Post: Resistance
  {TuToRiAl} How To Verify If Your App. Was Ran As Administrator {TuToRiAl} Resistance 11 6,010 10-11-2011, 04:30 PM
Last Post: Genuine
  [VB8] Getting Your IP & Information [TUT] Fragma 28 12,474 05-20-2011, 06:53 AM
Last Post: stephen5565
  {TuToRiAl} How To Create .GIF Animations for Your VB Tutorials {TuToRiAl} Resistance 12 3,824 05-11-2011, 06:53 AM
Last Post: cOld fus1on
  [TuToRiAl] Helpful Newbie Visual Basic Code Snippets[/TuToRiAl] Resistance 5 2,119 05-08-2011, 02:26 PM
Last Post: PURP

Forum Jump:


Users browsing this thread: 1 Guest(s)