Matching hash password & username
by - Thursday, January 1, 1970 at 12:00 AM
Does anyone have a Shell or Python script

To match

hash:plaintext

+
username:hash


into


username:hash:plaintext

Reply
This would also be neat to have i only know how to do this via potfile and hashcat or some emeditor scripting
Reply
let me take a quick look


Ok @INTERPOL and @Fukuros I made a quick script that combines what you ask for. You need to give 2 file names (both should be in the same path as were the script is placed, just like in the example I gave you)
file 1 should contain: hash:plaintext (with newline)
file 2 should contain: username:hash (with newline)
the third option is if you want to have the hashes that are not found also in the result.

you run the script with: python3 quick_parse.py

mega_link
PASSWORD: FFOOEKEKE123123!!
Reply
(November 3, 2022, 03:25 PM)SpotnikSignal Wrote: let me take a quick look


Ok @INTERPOL and @Fukuros I made a quick script that combines what you ask for. You need to give 2 file names (both should be in the same path as were the script is placed, just like in the example I gave you)
file 1 should contain: hash:plaintext (with newline)
file 2 should contain: username:hash (with newline)
the third option is if you want to have the hashes that are not found also in the result.

you run the script with: python3 quick_parse.py

mega_link
PASSWORD: FFOOEKEKE123123!!


You are a kind person, good work.
Reply
(November 3, 2022, 03:25 PM)SpotnikSignal Wrote: let me take a quick look


Ok @INTERPOL and @Fukuros I made a quick script that combines what you ask for. You need to give 2 file names (both should be in the same path as were the script is placed, just like in the example I gave you)
file 1 should contain: hash:plaintext (with newline)
file 2 should contain: username:hash (with newline)
the third option is if you want to have the hashes that are not found also in the result.

you run the script with: python3 quick_parse.py

mega_link
PASSWORD: FFOOEKEKE123123!!


Surprisingly polished

But may I ask why you end your lines with a ; in python? Habit?
Reply
find a batch script to it
Reply
@CuriousKiwi yea haha python is not my main language and I personally think it's cleaner. But indeed it's not necessary here ^^
@mishka thanks man ^^
Reply
(November 3, 2022, 03:25 PM)SpotnikSignal Wrote: let me take a quick look


Ok @INTERPOL and @Fukuros I made a quick script that combines what you ask for. You need to give 2 file names (both should be in the same path as were the script is placed, just like in the example I gave you)
file 1 should contain: hash:plaintext (with newline)
file 2 should contain: username:hash (with newline)
the third option is if you want to have the hashes that are not found also in the result.

you run the script with: python3 quick_parse.py

mega_link
PASSWORD: FFOOEKEKE123123!!


Tysm Spotnik
That will do :heart:

Reply
In Linux

% cat file1 | sort -k2,1b -t, >sortfile1
% cat file2 | sort -k1,1b -t, >sortfile2
% join -1 2 -2 1 sortfile1 sortfile2

******Magic*************
Dark & Unclean
Reply
Wow I've come to just awesomeness you guys are so nice :)
Reply


 Users viewing this thread: Matching hash password & username: No users currently viewing.