.

php2relay

<<

rance

User avatar

Full Member
Full Member

Posts: 212

Joined: Thu Jan 03, 2008 5:24 pm

Location: Earth

Post Thu Jan 31, 2008 2:06 am

php2relay

When I first mentioned that I wrote this, it was suggested that I publish it.  So... here it is:

http://www.industrial.mu/tools/php2relay.txt

Basically, it's a quick and dirty open SMTP relay tester that will work on a range of IP addresses.  Yes, it's written in PHP, and you'll need PHP5.  (I suck at teh Perl, so... deal :D )

Just copy it, save it, run it with> php php2relay.php (options)
Or make it executable, and drop the initial php.  Should process either way. 

Also, verify your php binary with "which php" and modify the first line as necessary.

Have fun, use responsibly, let me know if there are any questions.
Poking at security since 1986.  +++ATH
<<

RoleReversal

User avatar

Hero Member
Hero Member

Posts: 928

Joined: Fri Jan 04, 2008 8:54 am

Location: UK

Post Thu Jan 31, 2008 6:32 am

Re: php2relay

Rance,

looks quite nice, I'm a php man myself and the tool fits in nicely with a job I've been putting off for a few weeks. I'll have a play and let you know if I find any issues.

Cheers for sharing
<<

rance

User avatar

Full Member
Full Member

Posts: 212

Joined: Thu Jan 03, 2008 5:24 pm

Location: Earth

Post Thu Jan 31, 2008 12:10 pm

Re: php2relay

RoleReversal wrote:Rance,

looks quite nice, I'm a php man myself and the tool fits in nicely with a job I've been putting off for a few weeks. I'll have a play and let you know if I find any issues.

Cheers for sharing


Well, hope it helps!  Let me know how it turns out for ya...
Poking at security since 1986.  +++ATH
<<

g00d_4sh

User avatar

Sr. Member
Sr. Member

Posts: 394

Joined: Tue Sep 18, 2007 1:50 pm

Location: Guayaquil, Ecuador

Post Thu Jan 31, 2008 12:49 pm

Re: php2relay

Thanks Rance, much appreciated!  I'll have to give this a shot and play around with it a little. More though, I want to look at it since I've never played around with php.
"Bad.. Good?  I'm the guy with the gun"

Return to Tools

Who is online

Users browsing this forum: No registered users and 0 guests

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software