you can always do apt-get....most common pentest tools are in the repository, I'm sure with enuf searching you'd very likely find one...
http://quintanasoft.com/dumbster/#Download
-or-
USE this....No, I do not claim credit for this. I simply found it at:Code:#!/usr/bin/env python """A noddy fake smtp server.""" import smtpd import asyncore class FakeSMTPServer(smtpd.SMTPServer): """A Fake smtp server""" def __init__(*args, **kwargs): print "Running fake smtp server on port 25" smtpd.SMTPServer.__init__(*args, **kwargs) def process_message(*args, **kwargs): pass if __name__ == "__main__": smtp_server = FakeSMTPServer(('localhost', 25), None) try: asyncore.loop() except KeyboardInterrupt: smtp_server.close()
chmod +x fake_smtp.py sudo ./fake_smtp.py
sudo python -m smtpd -n -c DebuggingServer localhost:25
To test this out we can use telnet like so: $ telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. 220 localhost6.localdomain6 Python SMTP proxy version 0.2 HELO localhost 250 localhost6.localdomain6 MAIL FROM: test@test.com 250 Ok RCPT TO: test@testing.com 250 Ok DATA 354 End data with . subject: Hello to: test@test.com This is my message . 250 Ok QUIT 221 Bye Connection closed by foreign host.
Over on the terminal running the debugging server you should see the following: $ sudo python -m smtpd -n -c DebuggingServer localhost:25 [sudo] password for moo: ---------- MESSAGE FOLLOWS ---------- subject: Hello to: test@test.com This is my message ------------ END MESSAGE ------------
http://muffinresearch.co.uk/archives...r-with-python/
V/r,
Snafu
Pffbt..


