Saturday, February 27, 2010

DIY: Spoof Email

We learned a pretty cool little hack today in class that I thought might be some fun to play around with.
Just a reminder:

1)this tutorial is meant for use in a safe and legal training environment only.
2)It is meant for educational purposes only. The site is no way responsible for any misuse of the information.
3) And most important, Performing hack attempts (without permission) on computers that you do not own is illegal!










Okay, now for the fun stuff.  The first thing you'll need is a smtp mail server.  In my example, I used my schools mail server, smtp.pacific.edu, on port 25.  another choice would be to use your ISP's mail server, comcast works well for example.  Here is a list of other mail servers.  You'll just need to find the port number. Now open up a terminal and try out these commands!

C: - what you should type into your command prompt
S: - is the response you should get from the command prompt
// - any comments that I want to add. DO NOT type these into the command prompt

C: telnet smtp.pacific.edu 25  //25 is the port number for outgoing mail
S: 220 smtp.example.com ESMTP Postfix
C: HELO smtp.pacific.edu  
S: 250 Hello smtp.pacific.edu, I am glad to meet you
C: MAIL FROM:  //the address you are actually sending from
S: 250 Ok
C: RCPT TO: //the address you are actually sending to
S: 250 Ok
C: DATA
S: 354 End data with .
C: From: "Bob Example"  //address that the mail shows up from
C: To: Alice Example     //address that the mail shows up to
C: Cc: theboss@example.com
C: Date: Tue, 15 Jan 2008 16:02:43 -0500
C: Subject: Test message
C:
C: Hello Alice.
C: This is a test message with 5 header fields and 4 lines in the message body.
C: Your friend,
C: Bob
C: .           //the . Ends the data and sends the mail
S: 250 Ok: queued as 12345
C: QUIT
S: 221 Bye
{The server closes the connection}

-Some last tips, you need to be on the same network as your mail server.  For example I would need to be on my campus network in order to use smtp.pacific.edu. You can also use something like putty to get remote access to a network.
-Try sending yourself mail from the future you!

Monday, February 22, 2010

My Favorite Free Resources - Part 1: Books

Books
Music
Video
Software
Education

Ahhh yes, the joy of discovering some cool new  web service or piece of software while browsing through the rss feeds of my google reader...it took a while for me to realize that my room mate is not as eager to have all these awesome discoveries forced onto him during lunch though.  So I thought I would start this blog off by sharing some of my favorite online resources with you instead.

This is the first of a 5 part series exploring my favorite sources for free online books .

http://www.freetechbooks.com/ or http://www.flazx.com/ - Free computer science text books.  On everything from AI to Algorithms to Parallel computing.  They also have most of the common languages if you feel like picking up another language.  I'm in web development, and almost all the books covering php and other web development tools are very current.

http://www.realtimepublishers.com/ - This site is geared specifically toward IT professionals.  They have books on Networking, Security and Network Management.

http://www.gutenberg.org/ - This one is a little different.  If you're tired of the technical books and need to take a break, check out Gutenberg.   They have many of the great classics, including most of the books required for class readings

http://www.paperbackswap.com/ - This is probably one of the favorite free services I've ever signed up for.  It is a free book exchange club that works like this:

1) After signing up, you tell paperback what books you have that you are willing to ship out.

2) Another user will request a book that you've posted and you'll ship to them after which you will recieve 1 credit.

3) You can use this credit to request any book that any other user on the site has posted.

And that's it! You get 2 free credits for signing up, and the only thing you pay is for shipping.  The users are friendly, and fast with shipping, and you can find almost any book you would want.  My favorite feature is the wish list, which allows you to reserve a book and request it as soon as someone else posts it.

http://books.google.com/ - Probably the largest archive of online books and magazines.  I don't think they need much explaining.

Finally, I just want to say that all these resources are great, but I still use my public and school library 80% of the time. so don't forget about that.  So that's it, next time I will be sharing my best free (legal) music sources.  If you have any other gems I haven't discovered yet, please share in the comments,