Category Archives: Ubuntu

Hack-proof your Website with Nikto

Do you want to hack-proof your website? It is probably the best method to protect the website from malicious hackers and crackers.It will help you in better understanding about the security mechanism of your website.That’s why in this post I will try to explain how to exploit the loopholes in websites and the server(on which it is hosted) so that we can fix the problems and the website may become hack proof(Just a Fun).
The first step is to find the vulnerabilities in the server on which the targeted website is hosted.I am going to introduce you with a great hacking tool that will perform this job(scanning for vulnerabilities).The name of that software is Nikto.

Nikto : Command line tool for scanning web servers
Nikto is a website vulnerability scanning tool(Free and Open Source) made fr0m Perl(A script programming language like php or python).Hence you can use Nikto as a web server assessment tool for finding insecure files and programs on web server(Specialy against XSS vulnerabilities;Cross Site Scripting is one of the important hacking techniques used thesedays by the most of the attackers).

Scanning Websites Using Nikto will give following information :

  • misconfigured server and software
  • default programs and files
  • insecure programs and files
  • outdated programs and servers or plugins

Nikto is available for all the major Operating systems i.e for Linux,MacOSX and windows(By using ActiveState perl).

How to install Nikto in Ubuntu 10.04 :
In Ubuntu 10.04 you can easily install the Nikto by using Synaptic Package Manager.
1.Open the Synaptic Package Manager and search for “nikto”.
2.Check the box for install.
3.Click on Apply changes to install the checked packages.
4.It may ask for installing other dependencies if so then click ok.
5.Installation will begin and wait for its completion.
6.After completion of the installation you can invoke Nikto fr0m the terminal.

Invoking Nikto fr0m Ubuntu 10.04 shell :
Hit CTRL+ALT+T (Default shortcut for starting terminal) or start it fr0m Applications->Accessories->terminal.

Some Commonly used commands for hacking :

nikto -host : to specify the host to scan

(after host you can put host name or IP address of the target web server)

-port : TCP port(s) to scan.You can put by using comma e.g (80,443) or by giving the range of port such as (80-100)

-cgidirs : For scanning specified cgi directories.

-dbcheck : Check the scan databases for syntax errors.

-update : Updates the plugins and databases fr0m cirt.net.

-tunning : this option is used to tune the scan test against the target.

-format : It is used to specify the file format of the output.

For more information about the commands used in Nikto you can go to usr->share->doc->nikto->nikto_mannual.html or go to its official website. http://cirt.net/nikto2
Examples of website hacks :
nikto -host example.com

– Nikto v2.03/2.04
—————————————————————————
+ Target IP: xxx.xxx.xxx.xxx
+ Target Hostname: example.com
+ Target Port: 80
+ Start Time: 2010-05-24 16:43:05
—————————————————————————
+ Server: Apache
– /robots.txt – retrieved but it does not contain any ‘disallow’ entries (which is odd). (GET)
+ OSVDB-0: Retrieved X-Powered-By header: PHP/5.2.12
+ OSVDB-5433: WebLogic may reveal its internal IP or hostname in the Location header. The value is “http://example.com./”.
+ OSVDB-0: Non-standard header -cookie returned by server, with contents: wordpress_test_cookie=WP+Cookie+check; path=/
+ OSVDB-0: Non-standard header x-pingback returned by server, with contents: http://example.com/xyz.php
+ OSVDB-0: Non-standard header x-powered-by returned by server, with contents: PHP/5.2.12

Foxit Reader for Ubuntu 10.04

foxit pdf reader for ubuntu 10.04

Ubuntu 10.04 comes with Document Viewer(Installed by default) which is a robust application(Good for reading e-book or pdf document) so it is not necessary to search for any other e-book reader.But one fact is that- Document Viewer is a basic application designed for general purposes uses and contains only the basic features like text selection,text search,zoom and others.If you have ever used Foxit Reader in windowsXP or 7 then you will feel the difference between Foxit reader and document viewer.Foxit reader is an excellent pdf reader with many advanced features and it is available free for all platforms(Linux,window..).That’s why you would like to use Foxit reader on ubuntu 10.04 too.Foxit Reader is also available FREE for Linux operating system in different package format(e.g debian package is available for Ubuntu) and installing procedure is extremely simple! Just few steps..

How to Install Foxit Reader in Ubuntu 10.04 :

step1 : Go to the download page of foxit software’s official website.
Download Foxit Reader

step2 : On the website search for the text “Foxit Reader for Desktop Linux”.Just Below- click on more download.Then different package options will come.Select .deb(3.61MB).

installing foxit reader in ubuntu
step3 : Now a small window will appear with the message similar to “Open with GDebi Package Installer”,Click OK.Now downloading will begin and wait for the download to complete.When the download will complete then a window will open automatically(as in above picture).click install package to install the foxit reader.It will take few seconds.

step4 :
Foxit reader is now installed on your computer.To open it you may go to Applications->Office->Foxit Reader or right click on the pdf Document and click on “Open with Foxit Reader”.

step5 : End of The Statement..Now Enjoy reading books with Foxit Reader!!

Credit : www.foxitsoftware.com

How to Install Google Chrome in Ubuntu 10.04

installing chrome in ubuntu

Google chrome is one of the fastest browser available and its popularity is increasing very fastly.You can also install chromium browser in Ubuntu 10.04 that is available in software center;similar to Google chrome.Although a beta version of Google chrome is also released for Linux(Ubuntu/OpenSUSE and others).For Ubuntu 10.04 it is simple to install using Debian package installer.

Install Chrome in Ubuntu 10.04 :

step1 : Get the Google Chrome fr0m its official website.
Download Google Chrome

step2 : When you accept the TOS(Terms of Service) and downloading will start then open the package with Gdebi Package installer.

how to install google chrome in ubuntu 10.04

step3 : When the software will be downloaded then installation will begin if you click on install package.Next,Installation will complete within few seconds.

step4 : Open it fr0m Applications->Internet->Google Chrome.

step5 : End. Enjoy Surfing with Google Chrome.

How to Install Google Gadgets in Ubuntu 10.04

Getting the information directly on your desktop is very useful and you can do it in fun way by using Google gadgets available for various desktops.Now it is also available for Linux(and of course for Ubuntu 10.04).You can download it fr0m Google’s site and install it in most of the linux versions.But Now in Ubuntu 10.04 you can install it in more simple way.

Installing google gadgets in ubuntu 10.04

Installing desktop Gadget in Ubuntu 10.04 :
step1 : Open Synaptic Package Manager(System->Administration->SPM).

step2 : Search for “Google Gadgets”;Now you have two options google-gadgets-gtk and google-gadgets-qt.Although you can choose anyone of them but if you are using GNOME desktop(Default Desktop of Ubuntu 10.04) then it is better to select google-gadgets-gtk(select google-gadgets-qt if you are using KDE desktop in Ubuntu 10.04 or if you are using Kubuntu).

step3 : Check the box for installation(it may ask for some other dependencies click ok).Next click on Apply to install the selected softwares.The Google gadgets will be installed within few minutes.

step4 : Since you have installed the Google gadgets successfully,so you can open it : Applications->Internet->Google Gadgets(GTK/Qt).In adding some gadgets(click on +) it may ask you for security verification if so,then click on yes.

google gadgets with ubuntuubuntu 10.04 desktop gadgets
step5 : End.I hope you are enjoying Google Gadgets well!

How to Install Opera in Ubuntu 10.04

Opera is one of the fastest browser available and you want to install it on your Ubuntu 10.04(Lucid Lynx) even though it has already an excellent browser installed by default(That is Mozilla Firefox),then you can install opera in few clicks.Latest version of Opera is just released.So you can install opera 10.10 on Ubuntu 10.04(or any other Linux version procedure is just same)by following three steps : (very simple steps)

Three step installation of Opera 10.10 on Ubuntu 10.04 :

step1 : Open any browser and go to opera’s official website for downloading the latest version for ubuntu 10.04.
Download Opera 10.10

how to install opera on ubuntu 10.04

step2 : Select the operating system(Here it is Ubuntu although it may not be necessary if website will automatically detect) and in package format leave it as default package for easy installation.

step3 : Now click on Download Opera.Then downloading will start and an option will come for opening the package with GDebi Package Installer so click ok.Next downloading will be complete within few moments and installation will start.Finally click on install package to begin the installation and installation will be complete within few seconds.

install opera ubuntu

step4 : End of the Fun.I assume you have installed opera 10.10 on Your Ubuntu successfully!