formatting & .gitignore

This commit is contained in:
17ms 2023-07-02 19:47:44 +03:00
parent 638929a39d
commit 7e44f7db9b
3 changed files with 9 additions and 5 deletions

3
.gitignore vendored
View File

@ -6,3 +6,6 @@
.vscode/ .vscode/
*.dSYM/ *.dSYM/
# Fucking MacOS
.DS_Store

View File

@ -3,11 +3,11 @@
# Link: https://crackmes.one/crackme/6403ac2a33c5d447bc76179f # Link: https://crackmes.one/crackme/6403ac2a33c5d447bc76179f
# Conditions that must be fulfilled for the key to be valid: # Conditions that must be fulfilled for the key to be valid:
# 1. len(key) == 13 && key[3] == "-" # len(key) == 13 && key[3] == '-'
# (2. sum1 = sum(key[0:3]))) # (sum1 = sum(key[0:3])))
# 3. (key[0] ^ sum1 % 3) == sum(key[4:7]) # (key[0] ^ sum1 % 3) == sum(key[4:7])
# 4. (key[1] ^ sum1 % 3) == sum(key[7:10]) # (key[1] ^ sum1 % 3) == sum(key[7:10])
# 5. (key[2] ^ sum1 % 3) == sum(key[10:13]) # (key[2] ^ sum1 % 3) == sum(key[10:13])
import random import random

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# Link: https://crackmes.one/crackme/60c24a7133c5d410b8842d3c # Link: https://crackmes.one/crackme/60c24a7133c5d410b8842d3c
# The algorithm simply checks pw[4]=='@' && pw[6]=='-' && pw[9]=='l' && pw[15]=='?'. # The algorithm simply checks pw[4]=='@' && pw[6]=='-' && pw[9]=='l' && pw[15]=='?'.
import random import random