fake mails sender with VB

Any other programming language that is not covered in the Web Scripting category.

fake mails sender with VB

Postby YoungD on Sun Oct 08, 2006 4:10 pm

first of all id like to excuse my language, sorry if you dont understand
okay after this
id like to explain how sending a fake mail
with telnet it would be somthing like (dont know if some1 has already written this tutorial)
1) you connect to an smtp server (you need to find one that lets you send emails without havin to deal with the login)
2)RSET
3)HELO <an ip\host\ you want>
4) MAIL FROM: <[email protected]>
5)RCPT TO: <[email protected]>
6) DATA
7) subject: test
Cool the body of the email here
9) . ( a dot and then hit ENTER)
------------the end------------
thats how it would be like with TELNET but wat we want its to do it with VB
before we can go on, we should deal with a problem
when you do it with VB you should...find somehow to make ur application (we're making) to wait that will prevent the ur application to send MAIL TO: when its supposed to send "HELO" (if you know what i mean)
so we'll make one
--------
Private sub Delay(x)
T= timer
Do while Timer < T + x
Doevents
loop
end sub
-------
so if we have Delay(6) this will Pause the application for 6 secs okay
lets say 6 secs are enough for us

lets draw our form

-------------------------------------------------
|label1"server"| | text1 |
|label2"Your fake identity"| |text2 |
|label3"MAIL FROM:"| | text3 |
|label4"MAIL TO: " | | text4 |
|label5"Subject:"| | text5 |

|label6 "Body:" | | text6 |

____________
| COMMAND 1|
---------------
--------------------------------- END OF THE FORM -------------------------
okay heres how our form would loook like

and the code is as simple as its in TELNET
before we can even think bout how to code this we gotta add the
winsck.ocx to our application
its called Netmanage Winsock control (winsck.ocx)
or microsoft control mswinsck.ocx (better the first one)
once you add it choose the TCP one(its shown as a couple of socks...one its for udp and one for tcp)
okay heres our code (we'll add the delay thing we coded previously)
---------------CODE--------------------
Private sub text1_keypress(k as integer)
if k=13 then
server=text1
text2.setfocus
end if
end sub

Private sub Text2_keypress(k as integer)
if k=13 then
fake=text2
text3.setfocus
end if
end sub

Private sub text3_keypress(k as integer)
if k=13 then
from=text3
text3.setfocus
end if
end sub

Private sub text4_keypress(k as integer)
if k=13 then
to=text4
text4.setfocus
end if
end sub

Private sub text5_keypress(k as integer)
if k=13 then
subj=text5
text5.setfocus
end if
end sub

Private sub text6_keypress(k as integer)
if k=13 then
body=text6
command1.setfocus
end if
end sub


Private sub Delay(x)
'change the 6 to another number if u want to set a diffrent delay time
x= 6
T= timer
Do while Timer < T + x
Doevents
loop
end sub


Private sub Command1_click()
TCP1.CONNECT server,25
DELAY(X)
TCP1.SendData "RSET" & VBCRLF
delay(X)
TCP1.SendData "HELO " & FAKE & VBCRLF
delay(x)
TCP1.SENDATA "mail from: " & FROM & VBCRLF
delay(x)
TCP1.SendData "RCTP TO: " & TO & VBCRLF
delay(x)
TCP1.SendData "DATA" & VBCRLF
delay(x)
TCP1.SENDATA "DATA" & VBCRLF
delay(x)
TCP1.SENDATA "Subject: " & subj & VBCRLF
delay(x)
TCP1.SENDATA Body & VBCRLF
delay(x)
TCP1.SendData "." & VBCRLF
delay(x)
TCP1.CLOSE
END SUB
------------------------------- END OF THE CODE -------------------
okay hopefully its all working anyway holla back if i made some mistakes Smile
good luck
YoungD
Contributer
Contributer
 
Posts: 34
Joined: Thu Sep 28, 2006 6:13 pm
Location: Italy

Postby YoungD on Sun Oct 08, 2006 7:42 pm

ohhh i forgot to Dim the variables(declarations)
anyway add those lines to your code
---------------
Dim server,fake,from,to,subj,body as string
Dim x as integer
----
YoungD
Contributer
Contributer
 
Posts: 34
Joined: Thu Sep 28, 2006 6:13 pm
Location: Italy

Postby crack0 on Mon Oct 09, 2006 7:46 pm

I wrote program like that, it is not completely finished but you can check out prog. here

Complete verision will be out in few weeks Wink

this one has some errors ...
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

The most easy way to send fake email

Postby hellboy on Tue Nov 21, 2006 7:51 am

Guys ,all what you need is a root and to install webmin on it. After instalation just go to servers->read user mail->compose .You can set a fake email very easy....
Image

Looking for a HellGirl...
hellboy
Contributer
Contributer
 
Posts: 71
Joined: Sun Apr 09, 2006 9:00 pm
Location: Miami

Postby Gratemyl on Fri Dec 15, 2006 12:44 pm

It would probably make some sense to write this in Python (using Tkinter) for cross-platofrm compatibility and ease of writing (check out asyncore and the socket library).

Things go much faster and the program would be able to run on *NIX as well as Windows. Also, you don't need to include the winsock ActiveX control (VB needs that for socket programming).
Gratemyl
Newbie
Newbie
 
Posts: 6
Joined: Wed Dec 13, 2006 11:41 pm
Location: Germany

Re: fake mails sender with VB

Postby synth on Fri Oct 19, 2007 1:10 am

hehe, quasi-legit smtp usage.
used to be fun with aol.
synth
Newbie
Newbie
 
Posts: 17
Joined: Thu Oct 18, 2007 7:44 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron