LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2019, 11:54 PM   #1
Jossie
LQ Newbie
 
Registered: Oct 2019
Posts: 7

Rep: Reputation: Disabled
Post How to calculate the MD5 of a single block using sleuth kit


I have a problem which I must solve to get me to the next question as the answer provides a password to unlock the next question.

I have to identify a file's last cluster entry and then calculate the last clusters MD5 which will act as the password to unlock the next question.

I have used

istat -o 2048 <image.raw.000> <inode entry>

this has identified the last cluster as 123110 - I have then ran the blkcat command on this to stream the file and piped it to md5suns to give me the hash value.

blkcat -o 2048 <image.raw.000> 123110 | md5sum

This generates a hash value but this doesnt unlock the file - am I doing anything wrong? i.e. not calculating the MD5 correctly - any further suggestions?
 
Old 11-14-2019, 01:57 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Have you tried getting the last block with dd?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find all files in folder and calculate md5 and redirect to a file in one CLI chinabenjamin66 Linux - Newbie 4 11-16-2012 04:36 AM
difference between md5 shadow and md5 elsewhere? whysyn Linux - Security 5 12-11-2007 10:11 AM
using iso.md5 and iso.md5.asc Tyir Linux - Newbie 3 07-10-2004 11:45 PM
Sleuth & other tools for bios virus suguru Linux - Security 1 03-14-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration