You will find some projects I’m working on such as the first project:
URL Screenshot Online – The ability to perform screenshot of your favorite websites without any tool, only using a form and/or an API to integrate it in your own website 😉 ! Some cache mechanisms will allow you to optimize requests when asking for a screenshot already performed (very useful in case of high traffic website for example!)
You can need to perform testing with your SMTP server and see if you are able to send mail with it.
You have your domain name, and you want to check if mail server is answering properly?
1. Check the mail server with DNS entries
We first need to find the right DNS entry for MX record and know what is the mail server.
mydomain.com mail exchanger=10mail.mydomain.com.
2. Open connection to mail server (default ports 25,587)
We will now open a telnet connection on the mail server we just found. Port to use can be different depending on the configuration of the server mail.
Escape character is'^]'.
220mail.mydomain.com ESMTP Postfix
The answer can change depending on the mail engine used, this is just an example.
3. Send an email with or without authentication
In case of there is no authentication needs (an open smtp server), just perform:
Thismessage isonly sent fortesting purposes.
If the server requests an SSL/TLS authentication before being able to send mail, you will probably need to use openssl library as telnet does not support TLS by default (you will get an error on STARTTLS command).
You will also need to prepare the credentials by encoding them in base 64:
Once you got this, you can open connection and request mail sending as following:
If you want to test an ISO image or a bootable USB drive you just prepared, you can do it very easily thanks to QEMU with a simple command-line. Obviously, you will need to install the QEMU package first so you can use it. For example on a Debian-based distribution:
sudo apt-getinstall qemu qemu-system qemu-utils
For USB drive testing, plug the USB key and get the name of device (checking dmesg if necessary and ensure that the drive is not mounted automatically). Afterwards you can launch:
For ISO testing, just get the path of your ISO image and launch:
It will launch an emulator with 1G RAM (-m option). As it’s emulated, there is a lot of things that won’t work and I recommend you to use this only for simple testing purposes (no network access or usb port enabled by default for example). All of these can surely be configured with a more complete command-line, but I invite you to read full QEMU documentation for doing that.