-2

Here my decode a password with 13 string

U5IhmemtXSSA. ===> admin

G1Cbobnlhh9xA ===> flower

What function or code should I use to decode a password like that?

sao
  • 1,835
  • 6
  • 21
  • 40
gmps org
  • 23
  • 8

1 Answers1

0

as your title says it's a Unix style crypt (salted) password hash. to verify under Python you can do:

from crypt import crypt
print(crypt('admin', 'U5'))

and you'll get U5IhmemtXSSA. back.

cryptographic hashes can't be "decrypted" in the traditional sense, but you can enumerate possible inputs to find out which ones result in the same hash. as suggested by @schlenk you could try hashcat or you could try something like john the ripper to quickly do this.

Sam Mason
  • 15,216
  • 1
  • 41
  • 60