954,546 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help "sell script to send a mail"

Hello every body,


I'm a student working on a project to test an anti-spam.....where I have to bomb one mailbox with many emails, I tried to use a mailbomber tool but the problem with this one is that it send one e-mail to many recipient ....what I want to do is to bomb one user with many emails which is stored in a folder....

so i thought to do a scritp for that since i'm a beginner in bash scripting and it's quite urgent ......could anyone help please to write a script which can read a folder where I have 2GB of email and start sending these mails to a mailbox in a mail server......

linouna
Newbie Poster
2 posts since Mar 2005
Reputation Points: 10
Solved Threads: 0
 

I started to write this but it didn't work....does someone have an idea.........

#! /bin/bash
for i in folder-name/*
do mail [email]test@mydomain.com[/email] < $i;
sleep5
done
exit 0

linouna
Newbie Poster
2 posts since Mar 2005
Reputation Points: 10
Solved Threads: 0
 

Hello,

We have to assume you have the best of intentions here.

If you have power over the box, you could write a crontab to have you send an email per minute x 24 x 7 and that will be a lot of emails.

Let it run over night.

You could also build something like majordomo, and have that one email be a list with that test message in there, and see if that does it for you.

See, we have to be careful about legitimate uses / ideas here. Email spamming is a large problem on the internet today, and we don't want to give too many ideas on how this is done.

Christian

kc0arf
Posting Virtuoso
Team Colleague
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You