I was given a file [hashes.txt](https://raw.githubusercontent.com/mar232320/ctf-writeups/main/hashes.txt) which contains some hashes```01:J2KpcoAbuql8U02:PU/dGdAVlBvMw03:MZLzIKG.XL9GE04:YYsBUtwzeoJqM05:$1$7TBqF/dR$no7Ql63c.FhX1Udl7t1Ws.06:$1$06bhZHCs$iNkfXQwwkMzXGxSfQTyw6/07:$1$uymtXSqy$BR/ZZfPWhoX0wntRq3QtO008:$1$n7GL0.6g$pjv5N8FZAIpdGmbTHGRB3009:$1$gbigI1Qh$1eGGYwYi2r4zdrgh8Xzyo010:$6$cBqA5xLZVRriv.u/$swKMycBkvyi2RhL6gHvxxwqnWobOE4pRBkyH.hHOA5xyr2nttM5eOLDMjxyWDCL.ngbQ2T47bBwkMUkuB/VUo111:$6$tn8ELZASfBa0oMmE$142wF.JRnWgaOSsyXh/WCiuc7ZKWquN7StAA6X3lbUlM.G0nmfxDM.TrPX7e19lvltTeDUXXoNTJfDwzPBE2d.12:$6$EUPTdRD4oHlripYb$EW4KkzaSx.M0UXXg1GvHXb3D.UNPBuAVtmAr.NO2GzcDGFpDrLXmcJ9EqBuyGLerbVI/hXiKrpJWbXf4zAQTJ113:$6$sfnr6Bk3vgABiniV$YLvIcvqmqiYGcLy8ZwRScnHHhKs2mk7ixK9BGTQMp.1JlWnb06LE9nImpWJgNuCm9tWVcWJjxmyXd.xOsye2v0```
I used online hash identifier and checked various types in hashcat and it turns out that first 4 hashes are `descrypt` 5 next are `md5crypt` and the last 4 are `sha512crypt`
I used hashcat to crack these hashes with rockyou.txt dictionary and simple bruteforce First 4 were cracked pretty quickly and the results are (in order) drink all the boozeNext 5 (md5crypt) were also easy to crack and the results were hack all the things dedicated The sha512crypt hashes are more complicated therefore the estimated time for rockyou in hashcat was ~2h so that's too much time I thought that in the last section of hashes would also be "all" and "the" solutions in 11th and 12th hash Then I realised that it may be some kind of text like Hacker Manifesto so I searched it in google and I found the [lyrics](https://genius.com/Dual-core-all-the-things-lyrics) of a song which intro says `dedicated to all the hackers` `dedicated` was the last part of 2nd section so these should be the solutions of part 3 what confirmed my earlier thoughts All I had to do from now was to build the flag
> CTF{drink_all_the_booze_hack_all_the_things_dedicated_to_all_the_hackers}
[hashes-solved](https://raw.githubusercontent.com/mar232320/ctf-writeups/main/hashes-solved.txt)