Categories
blog

Send an email with telnet

This little piece of info has been beaten to death on the Internet, posted hundreds of times on hundreds of websites. The only reason that I am posting it here is to help me remember it after I haven’t done it in quite a while. (The filing cabinet theory)

Telnet to the mail server of your choice (note the 25 at the end)

telnet mail.domain.com 25

Say hello to the receiving mail server with HELO

helo sender.com

Tell the receiving mail server who is sending the email

mail from: user1@sender.com

Tell the receiving mail server whom you are emailing

rcpt to: spamuser1@domain.com

Send any message you wish

data

hello spamuser1, i know where you live.

End with a single . (period) on a line

.

All done. The receiving mail server should tell you that the message has been queued for delivery.

The whole message track should look like this

telnet mail.domain.com 25
helo
mail from:
rcpt to:
data
hello spamuser1, i know where you live.
.

I would say on average, I use this technique for testing mail servers 3 times a week now. Seem’s pretty high, but it sure beats logging into a webmail server and sending mail, then looking for the message to process through the logs for verification. Just telnet, and verify in 10 seconds or less. Have fun, happy telnetting.

Categories
blog

Free Software – Clone Different Sized Drives

There are definitely some commercial alternatives to this process, however, like I’ve said before, I’m cheap. If, I were to purchase software to do this, I would get a copy of Symantec Ghost, Partition Magic, or HD Clone Professional edition. But for this post, we are going to discuss how to do this process for free. I’m not going to go into much detail, however, if you have any questions, please feel free to contact me or post a comment.

  • Download the Ultimate Boot CD (Free)
  • Burn the ISO to CD using ImgBurn (Free)
  • Install 2nd HD in computer that you wish to clone
  • Boot that computer from the CD that you burned
  • Choose “File System Utilities” from the OS Menu
  • Choose HDClone (Free Edition)
    • Walk Through the Questions it asks you on screen. Very basic.

Note: After the clone of the smaller to larger drive is complete, remove the smaller drive from the system, install the larger drive as you would normally do, and boot again off of the Ultimate Boot CD

  • Boot from the CD again
  • Find partition tools in the menu and choose “Partition Resizer”
    • Answer the questions on there just as you did before. Very basic. The last part will be simi graphical; just use the page up button to max out the partition size that you wish to use.

When this process is finished, remove the CD from the CD Rom tray and reboot into your newly cloned and repartitioned system. Everything should function as nothing has changed; however I recommend defragmenting and running CHKDSK on the drive right away to avoid any potential disasters. The process is very simple, clean and cost you zero dollars to do. Very nice in my book.

Categories
blog

showmypc.com – VNC / SSH based remote administration

Earlier this week I was looking for a way to connect to remote users, share their screen with them and meanwhile, do it securely. I stumbled across one that jumped out at me. It takes, an ssh client/server creates a point to point tunnel with the companies servers and then allows the other end (the viewer) to do the same so that the complete connection is encrypted with ssh. I haven’t found out what version of ssh it uses yet. Across the ssh tunnel, it utilizes WinVNC as it’s client/server for remote viewing. So far I’m pretty happy with the product except, I have found a problem with it’s ability to work when you have another VNC program installed. I had RealVNC installed on my work computer and that somehow prevented WinVNC to launch and allow me to connect to the remote machine. Check out the software at http://www.showmypc.com. It only requires that you download it, no installation required or available keeping your computer clean of extra software. Let me know if you have any other alternatives.

Categories
blog Linux pfSense Ubuntu

Everyday Free Tools – Tech Stuff

Each and every day I use a set of tools, mostly free or open source ones that help me get through the day. I though I would list of a few of them for you so that you can give them a shot as well.

Home Computer

I have a Panasonic Toughbook laptop running Ubuntu 7.04 that I really haven’t modified too awful much because I like the look and feel of the OS as it is. Here’s a list of things that I use everyday or every so often to accomplish a task without spending any money.

Operating SystemUbuntu 7.04 – Stable, clean, easy to install, based on GNOME and very well supported by the community. I would say that the forums for Ubuntu are better than most and for some reason, the users of Ubuntu are much nicer than that of Red Hat and others.

BloggingBlogger.com attached to my Gmail account (I do my own hosting)

Firewall pfSense – I mentioned this a few post’s ago. I absolutely love this firewall.

Document ManagementGoogle Doc’s and Spreadsheets – This one is really neat, you can upload your Microsoft Office Word and Excel files as well as OpenOffice equivalent documents up to Google, edit them, and even save off as PDF documents if need be.

MusicPandora.com – This site has been around for a little while now, It allows you to basically make your own radio station, and it dynamically learns what music you want to listen to. A side spawn of this project is Squeezebox which allows you to turn your music library into a radio station with streaming music.

Chat – Gaim – It’s easy to use, installed by default on Ubuntu, and supports multiple accounts. On Linux and Windows you can use Pidgin and for Mac OS X you can use Adium.

VoIPTwinkle – So far this is the best SIP capable client for Linux I have found. You can installed it through apt-get or Synaptic on Ubuntu or download it here. On Windows and Mac OS X I use X-Lite from CounterPath. I would say X-Lite is the best of the two but the Linux version sucks in my opinion.

PBXtrixbox – I just started using this because I’m trying to get my company or rather the company I work for into a new market so that we can make some more money as a company which personally helps me through profit sharing. Though, if I didn’t get that last bit, I would still peruse doing phone VoIP systems because I think they are interesting. I have it installed on an old PIII 500 with 256Mb of ram and it suits the needs of my wife an I just fine. A larger scale deployment would need a better server though.

EmailGmail and Evolution – I just started using Evolution about a month ago because Outlook Web Access on Microsoft Exchange 2003 sucks when viewed from Firefox. Damn Microsoft. 🙂 Kidding. Evolution seemed to be a logical choice for me because well, it was already installed on my computer and quite frankly I needed a way to check my mail. Sounds like a match made in heaven. Gmail, as you all probably know, is free and has cool features like web sharable calendars, documents and photos. You will probably see a trend here for me liking everything Google.

I think that’s enough for now. I’ll make a part 2 to this one pretty soon with quite a few more added programs and services that I use everyday for free. Compute free or die.

Categories
blog

hackthissite.org Addiction

Hackers Movie ImageMy brother in law was over this weekend, and bored as any teenager gets but he stumbled across a pretty neat site. Some of you have probably seen this before but for those of you who haven’t I would suggest you get yourself a comfortable place on the couch with your laptop and begin your “hacking” tutorial. The beginner portion of the hacks are very rudimentary, however, the “Basic” 5-10 stumped me pretty well as I really don’t understand Java Script, HTML or PHP for the most part. It’s starts off on level one with a basic “hidden” password that is in clear text in the source of the page. They get harder as you get going but I think I got the bug. I stayed up till 3 a.m. last night getting to “Basic” 10. Like I said, I was struggling quite a bit with the Java injection, PHP command execution and server side code execution. Interesting stuff. The site also has realistic, application, programming, logic, extbasic and Java Script missions. If I keep working on these I’ll do a few more posts on the subject of hacking, and how some of these basic methods of the art can be done. Give it a look at http://www.hackthissite.org Until then, happy hacking.