Thursday, August 24, 2006

Email Spoofing using SQL Server 2005

Download free SMTP server from http://www.qksoft.com/qk-smtp-server/
Run it. In settings give your IP address and use some random port no (on which some service in not running).

First start SQL Server 2005.

Under Object Explorer, Open Management tab. Right Click on Database Mail > Configure Database Mail.Then Create a user profile.

Eg. Profile name -- Someperson
someemail@gmail.com
In Server name, give ur IP address and port no is one at which QK SMTP is running.
Use Anonymous authentication.

Then in new SQL Query window, run following query:
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'Someperson',
@recipients = 'somepersonwhouwanttosend@somesite.com',
@body = 'Email spoof',
@subject = 'Email spoof';
GO

Disclaimer -- Above information is intended only for educational purpose and author is not responsible for any damage that results by using it.

No comments: