Sunday, October 23, 2011

Recursive Folder Content Hash Script


Keep hashes of the folder helps to keep integrity of contents. Specially for a web server this is very important to identify potential Remote File Intrusion incidents.

Sunday, October 02, 2011

Obtain Windows Update (Quick Fix) History in CMD

Windows Malicious Software Removal Tool

Obtaining patch information is critical while performing an audit on windows system. Windows Management Instrumentation allows obtain these information in command line in descriptive way.

command is should be run administrative command line. Out put can be sent to a text file.

Sunday, September 25, 2011

Adding Bookmarks and Hyper Links to LaTeX Content Page

Kile Logo

Handling and creation of large documents which have more than 100 pages are not easy task with Microsoft Word and Libre Office Writer like word processing packages. After the limit of 50 pages, time spend for formatting significantly increasing in GUI word processors. Therefore best option is switch to LaTex.

Tuesday, July 26, 2011

How to install Vuze / Azureus 4.6 to Kubuntu / Ubuntu

Vuze Logo

In Kubuntu with apt-get, an old version of Vuze can be installed which has less functions. If you get version available on Vuze web site, the program will not start due to issue in swt.jar as follows.

Tuesday, July 19, 2011

How to install Firefox Latest to Kubuntu / Ubuntu 10.04

Mozilla Firefox 5

Step 1: Open a new command shell (Teminal or a console) and add the firefox repo as 'sudo apt-add-repository ppa:mozillateam/firefox-stable'
Output will be as follows

kasun@konkord:/home/kasun# sudo apt-add-repository ppa:mozillateam/firefox-stable
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg 
--trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg 
--keyserver hkp://keyserver.ubuntu.com:80/ --recv 0AB215679C571D1C8325275B9BDB3D89CE49EC21
gpg: requesting key CE49EC21 from hkp server keyserver.ubuntu.com
gpg: key CE49EC21: public key "Launchpad PPA for Mozilla Team" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
kasun@konkord:/home/kasun#

Friday, June 17, 2011

How to switch between installed Java VM in Ubunutu

Java Mascot


Imagine you have installed both IcedTea and Oracle (Sun) JVM and you want to switch to Sun JVM from IcedTea. This can be done with command 'update-alternatives --config java' as root.

Thursday, May 26, 2011

Install w3af 1.0 in Fedora - Python-svn Dependancy Solving


Famous web application testing tool kit 'w3af' released a stable version on 25th May 2011. How ever when I run w3af-gui, it tells it needs 'python-svn' and suggest to run apt-get install python-svn.
In a fedora based system 'yum install python svn' will not work since package comes with a different package name. Therefore to install python svn, 'yum install pysvn' should be issued.

Monday, May 16, 2011

How to install Clementine Music Player for Ubuntu 10.04 Lucid


Clementine is a multi-platform juke box type music player which is inspired by Amarok 1.4. But to install it to Lucid Linux (Ubuntu 10.04) small procedure has to be follow.

The 'apt-get install clementine' will not work because clementine repository is not default available in Lucid Linux.

Tuesday, May 10, 2011

Installing Broadcom 43xx Wireless Drivers after Kernel Update in fedora

Broadcom Logo

After a kernel update in Toshiba Satellite laptops which are running on fedora may lose the wireless network capability which is based on Broadcom chips. Even drivers are available from RPMFusion repo, it will take couple of days to update drivers with newly released kernel. Best option is compling the driver as following steps which gives wireless capability instantly.

Step 1:
Run 'lspci | grep -i broadcom' in terminal to make sure wireless hardware is there.
[kasun@katalyst ~]$ lspci | grep -i broadcom
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g LP-PHY (rev 01)
[kasun@katalyst ~]$

Sunday, May 08, 2011

Open DNS Phishing Protection

Open DNS Logo

As a Linux user, since there is not reputed Virus Guard (Even troublesome SELinux is there) or URL filtering is not done, there is a more chance you deal with phishing URL. In windows many AVs prevent phishing and scam URL. In this case best option is using a DNS level filtering. In most cases ISP's DNS will not offer this sort of protection. Therefore best option is switch to Open DNS.
Open DNS name servers are
  • 208.67.222.222
  • 208.67.220.220

Tuesday, May 03, 2011

How to fix Oracle VirtualBox Ubuntu 11.04 Unity Hardware Requirement Issue

Oracle VirtualBox VM boot Screen

Unity is the new desktop package which is included in Ubuntu 11.04. How ever this makes small problem to VirtualBox testers for Ubuntu. It gives small error contains hardware is not support and Unity is kept disabled.

Friday, April 29, 2011

How to fix kdenlive - mlt update problem in fedora 14

Today Update Applet indicated me there are updates for fedora kdenlive package. How ever it gave problematic output for 'yum update' command as follows.

[root@katalyst kasun]# yum update
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Adding en_US to language list
Found 36 installed debuginfo package(s)
Enabling fedora-debuginfo: Fedora 14 - x86_64 - Debug
Enabling rpmfusion-nonfree-debuginfo: RPM Fusion for Fedora 14 - Nonfree - Debug
Enabling rpmfusion-free-updates-debuginfo: RPM Fusion for Fedora 14 - Free - Updates Debug
Enabling rpmfusion-nonfree-updates-debuginfo: RPM Fusion for Fedora 14 - Nonfree - Updates Debug
Enabling rpmfusion-free-debuginfo: RPM Fusion for Fedora 14 - Free - Debug
Enabling updates-debuginfo: Fedora 14 - x86_64 - Updates - Debug
Setting up Update Process
Resolving Dependencies