FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/pythonchallenge/25.py at master · bjd1111/python · GitHub
bjd1111
python
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
pythonchallenge
/
25.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (9 loc) · 356 Bytes
Breadcrumbs
python
/
pythonchallenge
/
25.py
Copy path
File metadata and controls
9 lines (9 loc) · 356 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
import
md5
broken
=
open
(
'maze/mybroken.zip'
).
read
()
for
i
in
range
(
len
(
broken
)):
for
j
in
range
(
256
):
repaired
=
broken
[:
i
]
+
chr
(
j
)
+
broken
[
i
+
1
:]
if
md5
.
md5
(
repaired
).
hexdigest
()
==
'bbb8b499a0eef99b52c7f13f4e78c24b'
:
open
(
'unbroken.zip'
,
'wb'
).
write
(
repaired
)
print
i
,
j
raise
StopIteration
Back
|
FazBrowse Home
|
New Git URL