Python Forum
Thread Rating:
  • 4 Vote(s) - 2.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Hash list check
#1
Hi All, 

First post!

I'm Looking for a bit of help with a small task. 


I am pretty new to python and have a program which generates a list of hashes in either md5 or sha256 (users choice) for every file in a directory and subdirectories using oswalk then outputs that list to a report, example below.

('Format = hash,filename ', '/users')
284d3b132b8586183474ff8c5e396d3a62b9b9fd7cafb448e137d0ec493ad5ce         /users/"username"/.bash_history

I'm look for help on how to compare the hashes in the report file with a list list of known good ones. I'm completely stuck on how to get this started.

Any help would be greatly appreciated.
Reply


Messages In This Thread
Python Hash list check - by here2learn - Feb-26-2017, 04:17 PM
RE: Python Hash list check - by ichabod801 - Feb-26-2017, 08:54 PM
RE: Python Hash list check - by here2learn - Feb-26-2017, 09:05 PM
RE: Python Hash list check - by Ofnuts - Feb-27-2017, 09:35 AM
RE: Python Hash list check - by here2learn - Feb-27-2017, 08:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with to check an Input list data with a data read from an external source sacharyya 3 456 Mar-09-2024, 12:33 PM
Last Post: Pedroski55
  [solved] list content check paul18fr 6 766 Jan-04-2024, 11:32 AM
Last Post: deanhystad
  [SOLVED] How to crack hash with hashlib Milan 0 1,447 Mar-09-2023, 08:25 PM
Last Post: Milan
  check if element is in a list in a dictionary value ambrozote 4 2,021 May-11-2022, 06:05 PM
Last Post: deanhystad
  How to check if a list is in another list finndude 4 1,870 Jan-17-2022, 05:04 PM
Last Post: bowlofred
Question Problem: Check if a list contains a word and then continue with the next word Mangono 2 2,553 Aug-12-2021, 04:25 PM
Last Post: palladium
  how to check if string contains ALL words from the list? zarize 6 7,311 Jul-22-2020, 07:04 PM
Last Post: zarize
  Hash command works differently for me in CMD and Spyder ZweiDCG 3 2,380 Sep-10-2019, 01:10 PM
Last Post: DeaD_EyE
  length constraint on phrase hash to password javaben 0 1,932 Aug-21-2019, 05:34 PM
Last Post: javaben
  Create file archive that contains crypto hash ED209 1 2,071 May-29-2019, 03:05 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020