Monday, 29 April 2013

Adjust screen resolution in Kali Linux

1. Click on  Applications --> System Tools --> Preferences --> System Settings
2. Click on  Display
3. Click Drop down box, next to Resolution to adjust resolution of the monitor
4. Click on Apply to take effect

Thursday, 25 April 2013

How to install Google Chrome in Kali Linux?

OS: Kali Linux 1.0.4

Note: Before you proceed make sure to keep your kali linux up-to date. Please run apt-get update and then apt-get upgrade from the terminal.

1. Open IceWeasel Browser and goto www.google.com and click on Install Google Chrome on the above right panel of the box. You can also goto www.google.com/chrome to download Google Chrome.


2. Click on Download Chrome


3. Select the option to download package. As Kali is built on Debian package so you can select 32 bit .deb or 64 bit .deb(depending upon the type of platform Kali Linux install). I have 32 bit Kali Linux installed in my laptop, so I chose 32 bit .deb (For Debian/Ubuntu).


4. Choose the location to save google chrome package.



5. Open Terminal window (make sure you have a privilege of a root user) and goto the directory of the downloaded file "google-chrome-stable_current_i386.deb".


6. Run dpkg -i google-chrome-stable_current_i386.deb from the root terminal window.



7. Once setup, you need to add it to Menu. Go to ;
Applications -> Accessories -> Main Menu


8. Click on the Internet icon on the left hand panel, and click the ‘New Item’ button on the right.


9. On the next pop-up window, add the information as
 Name: Google Chrome
 Command: google-chrome

and click OK


10. When you are trying to run Chrome from the menu, you will get an error message pops up advising unable to run as root. So, to run as root you must specify an alternate --user-data-dir for storage of profile information.



11. To do that, navigate the file

Computer -> File System -> opt -> google -> chrome

Open the file google-chrome in a text editor and goto the last line;

add --user-data-dir, next to exec -a “$0″ “$HERE/chrome”  “$@”
Save the file and exit from text editor


12. Now open Applications -> Internet -> Google Chrome and you are good to go.

Friday, 12 April 2013

How to install Adobe Flash Player in Kali Linux?

2. select .tar.gz for other Linux from the drop down list and click on Download now.
3. it will ask you select the location of the file. browse the location where you want to download the file click on OK.
4. once the file is downloaded, open terminal window and goto the location of downloaded file using cd command
5. check if the file is available in terminal window using ls command (this step is however optional)
7. type tar xzvf install_flash_player_11_linux.i386.tar.gz in the terminal window to extract the file
8. finally, type cp libflashplayer.so /usr/lib/mozilla/plugins to copy the files

 You are done installing flash player

Tuesday, 9 April 2013

Installing Kali Linux- A step-by-step instruction

Kali Linux, ver.: 1.0.3

Prerequisites:
  • Minimum 8 GB of HDD space to install Kali Linux
  • For i386 or amd64 architecture, a minimum of 512 MB RAM (1024 MB RAM recommended)
  • An ISO or VMWare image can be downloaded from Kali Linux site
Here, I am going to guide you step by step to install Kali Linux (ver. 1.0.2) in a virtual machine. Procedure of installation is very much similar to Backtrack.
Click on the above link to download Kali Linux. When you goto this link it will ask you to register, however registration is not mandatory to download Kali Linux. Either, you can register by giving your name or email address to receive information updates or simply you can skip this step and click on "No thanks, just want to download!". Depending on the type, you can customize your download in ISO or VMWare format. Click on "Download Kali". Once Kali Linux is downloaded you are ready to install it in a virtual machine. I am using VMWare Player version: 5.0.2 build-1031769 here.

1. Open VMWare Player and click on Click a New Virtual Machine. It will open New Virtual Machine Wizard.

2. On this screen select I will install the operating system later and the click on Next.

3. Select Guest operating system as Linux (kernel of Kali Linux is based on Linux) and then select Version as Ubuntu. Click on Next to goto next screen


4. Type Virtual machine name and specify the Location where you want install Kali Linux, however you can leave the default Virtual machine name and Location. Click on Next to proceed to the next screen

5. Specify Disk Capacity. Default is 20 GB. Select Split virtual disk into multiple files where file transfer is a major issue. Click on Next

6. On this screen, either you can click on Customize Hardware to customize settings and then to goto step no. 8 or click on Finish to complete the process of creating virtual machine


7. Click on Edit virtual machine settings

8. This is the screen where you can customize or edit your Hardware Settings. As mentioned above, the minimum system requirement is uni-processor of i386 or amd64 architecture processor, so click on 

(a) Memory, to select minimum 1024 MB of RAM;
(b) Processors, as 1 or 2 (depending upon the processing speed) and Preferred mode as Automatic;
(c) Click on CD/DVD IDE. Now, on right hand panel you will Connection. It has two options: 
      Use physical drive- select this option if you have Kali Linux is in your CD or DVD drive; or
      Use ISO image file- select this option if you have downloaded Kali Linux on your hard drive. Click on Browse to locate the ISO file 
(d) Floppy drive is optional, as now a days most of the computers do not floppy drive
(e) Select NAT if you have network adapter for Internet

Other Hardware settings can be modified once installation process is completed. Now click on OK.


9. Select kali linux on left side panel screen and then click on Play virtual machine

10 VMWare setup will startup


11. You will be greeted with Kali Linux boot screen. Choose either Graphical or Text-Mode install and press Enter to boot


12. Select your preferred language and click on Continue

13. Select your location and click on Continue


14. Select option to configure your keyboard and click on Continue


15. Once disc is detected by operating system, it will copy the image to your hard disk and probe your network interfaces

16. Enter hostname to configure your network and click on Continue


17. If you have a domain name, then enter here in the box. Make sure that you have a correct domain name. You can enter the domain name later and leave this box blank. Click on Continue

18. Enter robust password for your root account

19. It will auto-detect time from network time server

20. Installer will probe hard disk and offer you four choices of partitioning of disk. Beginner can select Guided- use entire disk however experienced user can setup partition as Manual

21. Below are the screenshots of manual partition. I have created three partitions

      a. /boot (a partition from where your operating system will boot)
      b. / (root partition for super user or admin)
      c. swap (a portion where buffering is done)





22. This is the screen where you’ll have last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you’ll have an almost finished installation.






23. Configure network mirror to give additional software that is included on the CD-ROM



24. Install GRUB boot loader


25. Finally, click on Finish to reboot Kali Linux installation





26. Login screen of Kali Linux