A variant of the shellshock bug that still works with the bash 4.3.11 shell.

This is a variant of the shellshock bug for bash that still works on a patched system. I am using Ubuntu 14.04 and this still works for me. env VAR1=’me() {echo "hello"}\ ‘ /bin/touch /home/$LOGNAME/my.text So you can still put arbitrary content after the function definition in a bash script. I have installed the latest […]


Read more...

Shellshock bug a wake up call for all Linux users, but not the end of the world.

The shellshock bug for Linux is a wake up call for all Linux administrators and home users, but this is not the end of the world. The Linux distribution developers will issue patches very soon after a leak of a bug like this. There is not going to be a massive catastrophe that the media […]


Read more...

Check if you are vulnerable to the shellshock bug. This is an easy way to find out.

A vulnerable cygwin shell. Using the shellshock vulnerability to run ls in cygwin. [email protected] ~ $ x='() { :;}; `/bin/ls -hula`’ bash -c : bash: total 53K drwxrwxr-x+ 1 Homer Homer 0 Sep 26 18:38 . drwxrwxrwt+ 1 Homer Homer 0 Sep 26 2013 .. -rw-rw—- 1 Homer Homer 222 Sep 26 2013 .bash_history -rwxrwxr-x […]


Read more...

How to upload files to your Amazon AWS instance using the bash shell and sftp.

This is how to copy files from the local machine to your Amazon instance when you are logged into the EC2 instance via SSH. Firstly, connect to the remote AWS instance by SSH. Then use the sftp command to connect back to your local Linux machine. sftp -P 443 [email protected] Then, you may use the […]


Read more...

How to get an OpenVPN server working on Ubuntu 14.04.

This guide, [openvpn.net] has a good guide to setting up an OpenVPN server on a Linux machine. I used this guide as the other guides online are not as good and often do not lead to a satisfactory result. I am using one on Linux and I can connect to it on my Windows machine […]


Read more...

iPhone 6 teardown. A look at the massive battery inside this new phone.


Read more...

How to Get a Visa Online Without Needing a Lawyer.

How to Get a Visa Online Without Needing a Lawyer   Whether you want to visit, study or work abroad, it is vital that you have a visa to be there. What a visa does is make it legal for you to both live and work in a country where you are not a current […]


Read more...

How to reset a Windows XP password with the john the ripper utility and the Trinity Rescue kit.

The chntpw utility for Linux is very useful if you have “borrowed” the SAM file from C:\Windows\System32\config/SAM and you wish to try and reset the passwords. I tried this with a Windows XP SP3 password file and I managed to reset the User1 password to a blank one. The Trinity Rescue Kit makes using this […]


Read more...

How to list all files in a directory that are larger than one megabyte.

Use this command to find all files in a directory that are larger than 1 megabyte. find . -maxdepth 1 -type f -size +1M -exec ls -Shal {} \+ | head Here is this command in practice. This is a very useful command. [email protected]:/boot$ find . -maxdepth 1 -type f -size +1M -exec ls -Shal […]


Read more...

Some useful tips for using Amazon Web Services for running a Linux server.

Amazon Web Services is a very powerful way to run a virtualized server in the cloud, but there are some tips that will help you greatly when deploying a server for the first time. SSH access is one. Changing the SSH port from 22 to 443 in the /etc/ssh/sshd_config file will help access when you […]


Read more...

Another nostalgia posting. Some pictures of very old computing treasures from history.

Old AOL login window. Dialing up to an America Online system to get connected to the Internet. The old OS/2 Warp operating system from IBM. This was a very good operating system back in the day. Windows `95 on floppy disks. This would take a very long time to install compared to using a DVD […]


Read more...

How to get an ipv6 address with a Netgear DGN2200 router.

This is how I got an ipv6 address with my dgn2200 router. Go to Advanced-> Advanced Setup -> IPv6 and choose the Auto Detect option. Choose Auto Detect. This will give you an IPv6 address. This is a simple way to get IPv6 working on your network. Then you can visit http://ipv6.google.com and type “my […]


Read more...

Elysium film showing real UNIX commands in a blockbuster movie.

The movie Elysium showcased some awesome UNIX shell commands. The rhost command was one, there is a more detailed show here: http://i.imgur.com/niqfmy5.png. The nmap port scanning utility is used to port scan Matt Damon`s brain before the data is copied from his neural storage to the Elysium computer system. I cannot see the full command; […]


Read more...

How to change the shell for a user on a Linux system easily with the usermod command.

I recently created a new user with the adduser command. [email protected]:~/Documents$ sudo adduser jimkirk Adding user `jimkirk’ … Adding new group `jimkirk’ (1002) … Adding new user `jimkirk’ (1002) with group `jimkirk’ … Creating home directory `/home/jimkirk’ … Copying files from `/etc/skel’ … Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully […]


Read more...

How I fixed the Java out of memory issue on an Amazon AWS instance.

I was trying to get openmeetings working on an Amazon AWS instance today and I kept getting Java out of memory errors. I fixed this with this simple solution I found: http://stackoverflow.com/questions/18078859/java-run-out-of-memory-issue. This fixed my problem and allowed the java application to start with a limited amount of memory. Try this out if you have […]


Read more...

15 Year old who “SWATTED” gamer convicted of domestic terrorism; 25 to life In Federal Prison.

An online gamer who “Swatted” another Counterstrike gamer by calling in a fake report to police has been sentenced to 25 to life in Federal Prison. This sends a strong message that calling in a fake police report is a very serious matter and is not something that can be used for a stupid online […]


Read more...

How to see free memory on a Linux machine with the free command.

The free command in Linux is used to show the amount of free memory in Linux. The example below shows the default usage of this command. [email protected]:~$ free total used free shared buffers cached Mem: 602736 294680 308056 16928 17632 146320 -/+ buffers/cache: 130728 472008 Swap: 0 0 0 The free -m command will show […]


Read more...

Seagate ships new 8 terabyte hard disk drive.

Seagate company have shipped a new 8 terabyte hard disk drive; this offers a lot of storage space for the price. The price is not available, but the TCO is claimed to be the lowest of any hard disk drive on the market. I am waiting to find out how large hard disk drives really […]


Read more...

More awesome wallpapers for your Linux or BSD desktop.

More awesome wallpapers for a Linux or BSD desktop. The wallpapers. Pandora and orbiting spaceship: http://wallpaperswide.com/download/avatar_6-wallpaper-1920×1080.jpg. Astronaut with surfboard on alien planet: http://4walled.cc/src/98/98fad31467a2205977988e458b554821.jpg. Awesome planet wallpaper with a giant superstructure on it: http://4walled.cc/show-1281760. Astronaut having a beer on the Moon: http://4walled.cc/show-1171862. Awesome view of planet Earth and the Milky way galaxy: http://4walled.cc/show-1124548. The sun rising […]


Read more...

How to fix the login error on Ubuntu 14.04.

I installed Ubuntu 14.04 to replace Linux Mint Debian Edition and after installation and updating my system with this command: sudo apt-get update; sudo apt-get upgrade Then I could not login to my system; it would stay on the login screen. I fixed this by entering these commands. sudo apt-get install ubuntu-2d* Then: sudo apt-get […]


Read more...