Skip to content

Instantly share code, notes, and snippets.

@Jesse-Culver
Last active May 8, 2018 05:50
Show Gist options
  • Select an option

  • Save Jesse-Culver/b3a085757a0472e90d2ef1493ead8967 to your computer and use it in GitHub Desktop.

Select an option

Save Jesse-Culver/b3a085757a0472e90d2ef1493ead8967 to your computer and use it in GitHub Desktop.
#Author Jesse Culver
#python3
import hashlib
userhash = input('Enter your hash: ')
partialName = 'SKY-PWDS-'
for x in range(9999):
newName = partialName + str(x)
newName.encode('utf-8')
m = hashlib.md5()
m.update(partialName.encode('utf-8'))
m.update(str(x).encode('utf-8'))
result = m.hexdigest()
if(result == userhash):
print(newName)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment