Question: How to operate these command in Kali linux? fdisk - l md 5 sum / dev / sdb > . / md 5 SumSource.txt (
How to operate these command in Kali linux?
fdisk l
mdsum devsdb mdSumSource.txt can also use shasum etc
dcfldd
dcfldd ifdevsdb ofDCFLDDimg hashlog mdSumDCFLDDHash.txt
blockdev getbsz devsdb
file DCFLDDimg
aptget install kpartx
man kpartx
To mount all the partitions in a raw disk image:
kpartx av DCFLDDimg
This will output lines such as:
add map loopp:: linear devloop
The loopp is the name of a device file under devmapper which
you can use to access the partition, for example to fsck it:
fsck devmapperloopp
When you're done, you need to remove the devices:
kpartx d disk.img
mount devmapperlooppmediaFlashDriveImageo ro
mddeep, shadeep, shadeep etc hashdeep
dcdd
shasum devsdb shasum.txt
dcdd ifdevsdb ofDCDDimg hashsha hlog shaSumDCDDHash.txt
dd
shasum devsdb shasum.txt
dd ifdevsdb ofddimg
Manually hash and compare hashes dd does not have builtin hashing
fdisk h
fdisk with a device will enter into "manipulationcommand mode
For fun, create a new partition on your USB drive and delete the partition you just created.
parted is a better tool than fdisk
man parted
df h df displays the disk space available on the file system
graphical utility
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
