Showing posts with label Kali Linux. Show all posts
Showing posts with label Kali Linux. Show all posts

Monday, June 22, 2015

Using dd to create an image of a Physical Drive

Tux, the Linux penguin
Tux, the Linux penguin (Photo credit: Wikipedia)
Hello Guys/Gals

Today I will show you how to use "dd" to create a raw image of a Physical drive on Linux. dd is a tool that comes in built with almost all or many well known Linux diastros. I am on kali Linux and will show you how to use here. Before we proceed make sure that you have mounted your Physical Drive. If not and you don't know then watch my other video and blog post on Mounting a drive.

We will use fdisk to get the device path first. To see the device path we write :- 

sudo fdisk -l

As you can see our device path is "/dev/sdb1", in your case most likely it would be something similar. Now we use the dd tool to create the copy.

The Syntax is :-

sudo dd if=<device-path> of=<file-name>

So the complete command is :- 

sudo dd if=/dev/sdb of=usbflash_image.dd
Now let me explain what is happening. Here if means input file and of means output file. input file is the complete drive storage and we just need to give the device path.

The drawback of dd is that we are not able to see the progress or status as this doesn't updates the image creation progress. Also we are unable to create the md5 or sha1 hashes of the image during the process is running. Later we will use another tool which can do all of these properly.

For more clarity watch the video.



Continue Reading →

Sunday, June 14, 2015

Generate Wordlists in Backtrack 5 R3 using Crunch

 
In this post I will discuss How to generate wordlists in Backtrack 5 R3 using Crunch. Though this video was made long ago but the procedure is same for the latest version of backtrack which is known as Kali Linux now. Watch the Video and I hope that you will find this useful.

Okay! Here's a bit of Explanation :-

Crunch is a tool that is pre-installed with backtrack. It is a very usefull tool  that helps you to generate wordlists for bruteforcing, according to your need. So, How we do it?

Follow the steps below :-

Step 1:
 
Open Backtrack terminal and write the following:-

cd /pentest/passwords/crunch

Now to use crunch we will first move to the folder above.

Step 2:
 
Write in the terminal :-

./crunch 7 7 acbd143 -t EHF@@@@ -o EHFlist.lst

Step 3:
 
Enter in the above will give you the message that the wordlist has been created (when 100% is written on the terminal screen)

Step 4:
 
Navigate to the /pentest/passwords/crunch folder and you will find the file EHFlist.lst, rename this to EHF.txt and open it and you will see the resultant words of Step 2

Explanation:-

"7 7 acbd143" - this means that the password length will be 7 charecters and it will contain the charecters a,c,b,d,1,4,3

"EHF@@@@" - It means that the passwords will contain the first three charecters same that is EHF, and the rest of the charecters @@@@ will be repeated with the charecters "a,c,b,d,1,4,3"
This will generate the while of the list.

So , using crunch you have a lot better flexibility and you have the option to make it the way you want

Watch the Video for more Clear Description 
 


Continue Reading →

Follow Me!

Followers

Visitor Map