Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 28 guests online
 
Advertisement

You are here: Home arrow Resourcesarrow Toolsarrow php2relay
EH-Net
May 18, 2013, 07:12:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: php2relay  (Read 20185 times)
0 Members and 1 Guest are viewing this topic.
rance
Full Member
***
Offline Offline

Posts: 212


<censored>


View Profile
« on: January 31, 2008, 01:06:03 AM »

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 Cheesy )

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.
Logged

Poking at security since 1986.  +++ATH
Andrew Waite
Hero Member
*****
Offline Offline

Posts: 928



View Profile WWW
« Reply #1 on: January 31, 2008, 05:32:19 AM »

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
Logged

rance
Full Member
***
Offline Offline

Posts: 212


<censored>


View Profile
« Reply #2 on: January 31, 2008, 11:10:10 AM »

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...
Logged

Poking at security since 1986.  +++ATH
g00d_4sh
Sr. Member
****
Offline Offline

Posts: 394



View Profile
« Reply #3 on: January 31, 2008, 11:49:42 AM »

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.
Logged

"Bad.. Good?  I'm the guy with the gun"
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.068 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.