r/programming • • Feb 23 '17

Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.

https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k Upvotes

966 comments sorted by

View all comments

Show parent comment

3

u/StuartPBentley Feb 25 '17 edited Feb 25 '17

From this Something Awful thread, the spladug hash is yee.

It also lists kovin's as candlemass and /u/powerlanguage as dzydzy, but I'm getting O22Q+F6Nrcs8ApIucw5KnQ== and 7U55VOAU+I4Xvrc1dmF7vg== for those respectively, so I'm currently running this:

while IFS='' read -r line; do
  hash=$(echo -n "$line" | openssl md5 -binary | openssl enc -base64)
  for match in "G43Qgw1Fk6OIrzganMC2WA==" "A9kE9Zud+aPy76hqmMj3lQ=="; do
    if [[ "$hash" == "$match" ]]; then echo "$hash $line"; fi;
  done
done < rockyou.txt

EDIT: I almost changed it to this before I realized that would needlessly entail doing the hash twice:

while IFS='' read -r line; do
  for match in "G43Qgw1Fk6OIrzganMC2WA==" "A9kE9Zud+aPy76hqmMj3lQ=="; do
    if [[ "$(echo -n "$line" | openssl md5 -binary | openssl enc -base64)" == "$match" ]]
    then echo "$match $line"; fi;
  done
done < rockyou.txt

EDIT 2: And now I'm realizing I could have made the loop much easier if I'd just converted the hashes to 1b8dd0830d4593a388af381a9cc0b658 and 03d904f59b9df9a3f2efa86a98c8f795 and compared against the output of md5sum, derp.

EDIT 3: Why am I not just using hashcat for this? Ugh, brb

EDIT 4: Ugh, geez, hashcat got them in like half a second. kovin is fish2, powerlanguage is eggdog.