How to update the grub menu manually on Kali Linux.

The update-grub will update the grub menu on Kali Linux. root@kali:~# update-grub Generating grub.cfg … Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.12-kali1-amd64 Found initrd image: /boot/initrd.img-3.12-kali1-amd64 Found memtest86+ image: /boot/memtest86+.bin Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin No volume groups found done Just run this command and the GRUB menu will be updated ready for your […]

Using OpenSolaris UNIX for the first time in ages. This is a very good OS.

I have just installed OpenSolaris UNIX in VMware. First impressions really are good; the LiveCD environment works very well indeed. The Gnome desktop is a breath of fresh air compared to the crap Unity desktop that comes with Ubuntu 14.10. Firefox 3.1 Beta 3 is the default web browser; this is due to the fact […]

How to scan your Kali Linux system for security vulnerabilities using the lynis tool.

The lynis tool for Kali Linux allows you to scan your computer system for security vulnerabilities. Execute this command as root and this will allow you to find out if you have any problems with your installation. root@kali:/home/homer# lynis –check-all [ Lynis 1.4.1 ] ################################################################################ Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, […]

Why Linux uses .dotfiles for hidden filenames.

The original UNIX programmers created a bug in the early UNIX code 40 years ago. This code had the side effect of making files starting with a dot hidden to the normal ls command. This was adopted as a ‘feature’. Nowadays, the dotfile is the standard way of hiding configuration files in the home directories […]

How to scan for vulnerable ports on a host with the Kali Linux distribution.

Scanning for vulnerable ports is easy with the Kali Linux distribution. Here is a simple port scan of my Windows Server 2012 R2 laptop host OS using Kali Linux. homer@kali:~$ sudo nmap 192.168.1.6 Starting Nmap 6.46 ( http://nmap.org ) at 2014-05-28 20:44 EST Nmap scan report for 192.168.1.6 Host is up (1.0s latency). Not shown: […]

Chinese government switching to Linux instead of Windows 8.1.

The Chinese government is considering a switch to Linux on the desktop to replace the ageing fleet of Windows XP machines currently in use. The ban on Windows 8 has made it necessary to find an alternative to Microsoft software that is currently in use in the country. This is a good thing; Microsoft software […]

WordPress testing with Kali Linux. Find problems with your site before the bad guys do.

The new Kali Linux distribution allows installation in a VMware virtual machine. This enables integration with a local area network and scanning of vulnerabilities. One good vulnerability scanner is wpscan. This is a vulnerability scanner that is used to scan websites running WordPress for security vulnerabilities. This makes it very useful for a webmaster. You […]

More useful Windows Server 2012 CMD commands.

The route PRINT command shows the routing table. This gives some insight into your network connections. C:\Users\Administrator>route PRINT =========================================================================== Interface List 18…1e 0f 6e 5d e1 25 ……Microsoft Wi-Fi Direct Virtual Adapter 13…4c 0f 6e 5d e1 25 ……Qualcomm Atheros AR5B97 Wireless Network Adapter 12…88 ae 1d 6d 09 bc ……Broadcom NetLink (TM) Gigabit Ethernet […]

The simplest hello world program you can write in C.

This is a very simple Hello World program that you can write in C. int main (void) { write (1, “Hello World\n”, 14); return 0; } Just compile the program like this: homer@homer-virtual-machine ~/Documents $ cc my.c -o hello Then execute it to get the output. This is very easy. homer@homer-virtual-machine ~/Documents $ ./hello Hello […]

Linux Mint 17 RC now available. Download it with these direct links.

Linux Mint 17 is now available. Download this new Linux release from this handy mirror site. http://ftp.heanet.ie/mirrors/linuxmint.com/testing/. 64 bit ISO 1.3 Gigabytes: http://ftp.heanet.ie/mirrors/linuxmint.com/testing/linuxmint-17-mate-dvd-64bit-rc.iso. 32 bit ISO 1.3 Gigabytes: http://ftp.heanet.ie/mirrors/linuxmint.com/testing/linuxmint-17-mate-dvd-32bit-rc.iso. This new Linux distribution has all the same features that Linux Mint 16 had, but with all new software. I am trying out the RC build […]

VoCore. A Linux based computer that is only one inch wide.

The VoCore is a tiny Linux computer that is only one inch in size. This runs the Linux based OpenWRT operating system and would be an interesting project for a hobbyist that is intending to build a small project using a compact board. This is even smaller than a Rasberry Pi. Full instructions re included […]

How to enter the product key in Windows server 2012 R2.

Entering the product key in server 2012 sometimes is fraught with frustration. You can try to enter it with this command. PS C:\Users\Administrator> slmgr -ipk XXXX-XXXX-XXXX-XXXX and you get an error. The best way is to use this command. PS C:\Users\Administrator> slui This command opens the pictured GUI; this allows you to enter the product […]

How to re run a previous command in your history with sudo privileges.

This is how to rerun a previous command with sudo if you forgot the sudo command to elevate privileges. Here I have tried to cat a file and I have forgotten to elevate my privileges with the sudo command. homer@calculate ~ $ cat /etc/shadow cat: /etc/shadow: Permission denied Instead of re-typing the command; I just […]

Some useful Windows commands to use in the cmd window. Get information about your user.

This command lists the information about your user. C:\Users\homer>net user Administrator User name Administrator Full Name Comment Built-in account for administering the computer/domain User’s comment Country code 000 (System Default) Account active No Account expires Never Password last set 11/2/2006 11:08:15 PM Password expires Never Password changeable 11/2/2006 11:08:15 PM Password required Yes User may […]

Do You Really Need An Anti-Virus For Linux?

Do You Really Need An Anti-Virus For Linux?

Did someone tell you that you do not need to install an anti-malware for Linux? You mustn’t listen to that! It’s totally incorrect… Today, there is an increasing popularity of Linux as Desktop. Linux uses Gnome Environment, which is slowly but steadily getting attacked by malware authors. So, the free OS is no way malware […]