Comments :
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

How to Create Kali Linux Live USB Install

15 Mar 2013 | 0 comments

Preparing for the USB copy 


Kali Linux Live USB Install Procedure

Imaging Kali on a Windows Machine 


  • Plug your USB stick into your Windows USB port and launch the Win32 Disk Imager software 


  • Choose the Kali Linux ISO file to be imaged and verify that the USB drive to be overwritten is the correct one.


    kali-usb-install-windows

  • Once the imaging is complete, safely eject the USB drive from the Windows machine. You can now use the USB device to boot into Kali Linux. 
         Imaging Kali on a Linux Machine

Creating a bootable Kali Linux USB key in a Linux environment is easy. Once you’ve downloaded your Kali ISO file, you can use dd to copy it over to your USB stick as follows:

WARNING. Although the process of imaging Kali on a USB stick is very easy, you can just as easily destroy arbitrary partitions with dd if you do not understand what you are doing. Consider yourself warned.

  • Plug in your USB device to your Linux computer’s USB port. 
  • Verify the device path of your USB storage with dmesg. 
  • Proceed to (carefully!) image the Kali ISO file on the USB device:
 dd if=kali.iso of=/dev/sdb bs=512k

That’s it, really! You can now boot into a Kali Live / Installer environment using the USB device.

Adding Persistence to Your Kali Live USB

Adding persistence (the ability to save files and changes across live boots) to your Kali Linux image can be very useful in certain situations. To make your Kali Linux USB stick persistent, follow these steps. In this example, we assume our USB drive is /dev/sdb. If you want to add persistence, you’ll need a larger USB device than we listed in our prerequisites above.

  • Image the Kali Linux ISO to your USB stick as explained above, using the “Linux Method” and dd. 
  • Create and format an additional partition on the USB stick. In our example, we use gpartedby invoking: 
  • gparted /dev/sdb 
  • Your current partitioning scheme should look similar to this:

usb-persistence-basic-partitioning

  • Proceed to format a new partition of your desired size to be used for persistence. In our example, we used all the remaining space available. Make sure the volume label of the newly created partition is persistence, and format it using the ext4 filesystem.

usb-persistence-creating-partition
  • Once the process is complete, mount your persistence USB partition using the following commands:


 mkdir /mnt/usb
 mount /dev/sdb2 /mnt/usb
 echo "/ union" >> /mnt/usb/persistence.conf
 umount /mnt/usb
  • Plug the USB stick into the computer you want to boot up. Make sure your BIOS is set to boot from your USB device. When the Kali Linux boot screen is displayed, select “Live boot” from the menu (don’t press enter), and press the tab button. This will allow you to edit the boot parameters. Add the word “persistence” to the end of the boot parameter line each time you want to mount your persistent storage. 

usb-persistence


Continue Reading

How to Dual Boot Kali with Windows

| 0 comments

Kali Linux Dual Boot with Windows

Installing Kali alongside a Windows installation can be quite useful. However, you need to exercise caution during the setup process. First, make sure that you’ve backed up any important data on your Windows installation. Since you’ll be modifying your hard drive, you’ll want to store this backup on external media. Once you’ve completed the backup, we recommend you peruseKali Linux Hard Disk Install, which explains the normal procedure for a basic Kali install.

In our example, we will be installing Kali Linux alongside an installation of Windows 7, which is currently taking up 100% of the disk space in our computer. We will start by resizing our current Windows partition to occupy less space and then proceed to install Kali Linux in the newly-created empty partition.

Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali linux Live as the installation medium. If you do not have a DVD or USB port on your computer, check out theKali Linux Network Install. Ensure you have:
Minimum of 8 GB free disk space on Windows
CD-DVD / USB boot support
Preparing for the Installation
Download Kali Linux.
Burn The Kali Linux ISO to DVD or copy Kali Linux Live to USB.
Ensure that your computer is set to boot from CD / USB in your BIOS.


Dual Boot Installation Procedure

  • To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Select Live, and you should be booted into the Kali Linux default desktop.
  • Now launch the gparted program. We’ll use gparted to shrink the existing Windows partition to give us enough room to install Kali Linux.


dual-boot-kali-01
Select your Windows partition. Depending on your system, it will usually be the second,     larger partition. In our example, there are two partitions; the first is the System Recovery partition, and Windows is actually installed in /dev/sda2. Resize your Windows partition and leave enough space (8GB minimum) for the Kali installation. 

dual-boot-kali-03

Once you have resized your Windows partition, ensure you “Apply All Operations” on the hard disk. Exit gparted and reboot.



dual-boot-kali-05

The installation procedure from this point onwards is similar to a Kali Linux Hard Disk install, until the point of the partitioning, where you need to select “Guided – use the largest continuous free space” that you created earlier with gparted.


dual-boot-kali-09


Once the installation is done, reboot. You should be greeted with a GRUB boot menu, which will allow you to boot either into Kali or Windows.


dual-boot-kali-11


Source: http://docs.kali.org/installation/dual-boot-kali-with-windows
Continue Reading

How to install Kali Linux Hard Disk

| 0 comments


Kali Linux Installation Requirements

Installing Kali Linux on your computer is an easy process. First, you’ll need compatible computer hardware. Kali is supported on i386, amd64, and ARM (both armel and armhf) platforms. The hardware requirements are minimal as listed below, although better hardware will naturally provide better performance. The i386 images have a default PAE kernel, so you can run them on systems with over 4GB of RAM. Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali Linux Live as the installation medium. If you do not have a DVD drive or USB port on your computer, check out the Kali Linux Network Install.

Installation Prerequisites
  • A minimum of 8 GB disk space for the Kali Linux install.
  • For i386 and amd64 architectures, a minimum of 512MB RAM.
  • CD-DVD Drive / USB boot support
  • Preparing for the Installation

Download Kali linux.

Kali Linux Installation Procedure

  1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Choose either Graphical or Text-Mode install. In this example, we chose a GUI install. 

    Kali Install
  2. Select your preferred language and then your country location. You’ll also be prompted to configure your keyboard with the appropriate keymap. 

    localechooser_languagelist_0
  3. The installer will copy the image to your hard disk, probe your network interfaces, and then prompt you to enter a hostname for your system. In the example below, we’ve entered “kali” as our hostname. 

    netcfg_get_hostname_0
  4. Enter a robust password for the root account. 

    kali-linux-install-02
  5. Next, set your time zone.

    time_zone_0
  6. The installer will now probe your disks and offer you four choices. In our example, we’re using the entire disk on our computer and not configuring LVM (logical volume manager). Experienced users can use the “Manual” partitioning method for more granular configuration options.

    partman-auto_init_automatically_partition_0
  7. Next, you’ll have one 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.

    kali-linux-install-03
  8. Configure network mirrors. Kali uses a central repository to distribute applications. You’ll need to enter any appropriate proxy information as needed. 

    NOTE! If you select “NO” in this screen, you will NOT be able to install packages from Kali repositories.
    kali-linux-install-04
  9. Next, install GRUB. 

    kali-linux-install-05
  10. Finally, click Continue to reboot into your new Kali installation.

    finish-install_reboot_in_progress_0

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.

Source: http://docs.kali.org/installation/kali-linux-hard-disk-install
Continue Reading

How to change the default boot order in Ubuntu & Backtrack

12 Mar 2013 | 0 comments


How to change the default boot order In Linux Ununtu, Backtrack


Well a lot many of us have a dual booting system setup with one operating system as Ubuntu and the other being Windows 7 in most cases or any other. However the problem Ubuntu beginners face is – getting used to it. The geeky linux culture is a bit of a daunting task to get used to, but then again, once used to it, people never turn back on open source.

How many times have you wanted to boot into Windows but forgot to select Windows in the boot menu or may be (in rare cases) ran out of time before you did that. Believe me, i’m one of such dreamy busy guys. After repeatedly booting into Ubuntu and restarting my system again only to get back to Windows, I was done. I set my mind, opened up the legendary Google Search page and typed ‘how to change boot order in ubuntu’. That’s it..! It was a piece of cake. Read on to know how i did it.

To change the default boot operating system, we have to first know its position. To know this, on your boot screen start counting from 0. That is, the first entry is numbered 0 and the last entry, Windows 7 in my case, is numbered 4. We will call this the boot-number.



First things first. Let me make you people clear that there are many small programs that do this in a jiffy. But what’s the fun in running applications in linux systems..? So lets get a bit more geeky and open up your ubuntu terminal by pressing Ctrl+T on your keyboard.


The file that needs our attention now is the ‘grub’ (GRUB: Grand Unified Bootloader) located in ‘/etc/default’. Before we make any changes to this file, lets take a backup of it. To do this, in the terminal, type the following command and hit enter.

sudo cp /etc/default/grub /etc/default/grub.bak



Note: There is a space between ‘cp’ & ‘etc/default/grub’ and ‘/etc/default/grub’ & /etc/default/grub.bak’

It may ask for the account password. And the password won’t be visible when typed (as you can see in the above image). Just type the password and hit enter. ’cp’ is a command to copy files through terminal.

That ends the backup thing. Now lets complete our mission. In the terminal, type and execute

gksu gedit /etc/default/grub

This opens up the grub file in which the changes are to be made.

Now change boot-number in ‘GRUB_DEFAULT’ field (highlighted in the image below) from 0 to 4, so that Windows 7 becomes the default operating system to boot into.



In case, if the time to select your option isn’t sufficient for you in the boot screen, you can change it by changing the default 10 seconds in ‘GRUB_TIMEOUT’ field to any number of seconds you like.



Now save the file and come back to the terminal.

To update these new booting rules, type and execute

sudo update-grub

It executes as shown in the image below.


That’s it! Piece of cake isn’t it?

In case something goes wrong, replace the edited file with the backed up file by executing

sudo cp /etc/default/grub.bak /etc/default/grub

Nothing went wrong in my case though.

Blog Source: http://www.erikrosado.com/2012/07/how-to-change-default-boot-order-in-linux-based-ubuntu-12-04-lts/
Thanks to http://www.erikrosado.com
Continue Reading

Hack Https password with the help of hack hippo "kidding shell script"

10 Oct 2012 | 0 comments

Today We are learn how to hack https packets in a network ?


Hack Https password with the help of hack hippo "kidding shell script" Download

1: first open script and select "Run in terninal"


2: Do you want to execute Wireshark when done? If yes, LEAVE BLANK> Hit Enter..



3: Do you want to extract pictures from the pcap via tcpxtract? If yes, LEAVE BLANK "> Hit Enter again


4: What interface to use? ie wlan0:eth0



5: Name of "Session"? (name of the folder that will be created with all the log files):hack hippo



6: Gateway IP - LEAVE BLANK IF YOU WANT TO ARP WHOLE NETWORK>enter your network getway ip



7: Target IP - LEAVE BLANK IF YOU WANT TO ARP WHOLE NETWORK:> enter your victim ip address



ok everything is done wait for your victim login....



    User https password

Continue Reading

How to hidden folders in Linux Ubuntu

27 Sept 2012 | 0 comments


Ubuntu or any other Linux based Distribution has a very simple convention for hidden folders – Nautilus (File Browser) doesn’t show any folder, with the name starting with ‘ . ‘ period/dot. So here is the simple trick to create a hidden fol
der or file in Ubuntu .Hiding Folder/file on Ubuntu

#1 : If you have just one file to hide then just rename the file name from ‘myfile’ to ‘.myfile’ or if you have a lot of files to hide then better create a folder – lets say – ‘mysecret’ and copy all the files you want to hide, then rename the folder name to ‘.mysecret’ .
#2 : Now refresh (hit F5) the screen, then your Folder/file will disappear.

#3 : That’s all..The most appropriate place for hiding folders/file would be desktop because CTRL+H won’t work directly , i.e in order to see hidden content(s), it must be seen through Nautilus.
Continue Reading

Hiding Folder/File on Linux

3 Apr 2012 | 0 comments

Ubuntu or any other Linux based Distribution has a very simple Convention for hidden folders
Nautilus (File Browser) doesn’t show any folder, with the name starting with ‘ . ‘ period/dot. So here is the simple trick to create a hidden folder or file in Ubuntu .
Hiding Folder/file on Ubuntu

#1 : If you have just one file to hide then just rename the file name from ‘myfile’ to ‘.myfile’ or if you have a lot of files to hide then better create a folder – lets say – ‘mysecret’ and copy all the files you want to hide, then rename the folder name to ‘.mysecret’ .
#2 : Now refresh (hit F5) the screen, then your Folder/file will disappear.
#3 : That’s all..The most appropriate place for hiding folders/file would be desktop because CTRL+H won’t work directly , i.e in order to see hidden content(s), it must be seen through Nautilus.
Continue Reading