Prompt
We have created a python script for you to break into as training. See if you can figure out a password that will authenticate with the program.
Walk-Through
This challenge involves analyzing vulnerabilities in a compiled Python program. The uncompyle program can be used to convert the compiled program back into Python code. See Python2 for more information on decompiling this file.
The result of running uncompyle can be seen below:
Guide
This challenge presents some elements similar to Python1. However, there are some new functions performed to builder.
An analysis of the code reveals that the sum of the ASCII codes for the characters in the password list will have a specific value after several transformations.
Below is an example of code in Python that can reverse the transformations to get the total for builder before it is transformed. This can be run in its own program, or referenced to calculate the answer by hand. This process will help determine the total Unicode value of the characters entered.
The code will subtract the value of the first character (’N’=78) to get the sum of the next ten remaining characters. Dividing that sum by 10 will yield the Unicode for a character repeated ten times.
target = 12645638
temp = ~target
temp = temp ^ 12648430
temp = ~temp
totalUnicode = temp // 4
totalUnicode = totalUnicode-78
print("Total for 10 remaining characters: ", totalUnicode)
x = totalUnicode // 10
print("x value:", x)
print("There are 10 characters like this: ", chr(x))
Questions
1. What is an input to this program that will result in a correct validation?
Reverse the transformations made in the program to determine the input.
©️ 2025 Cyber Skyline. All Rights Reserved. Unauthorized reproduction or distribution of this copyrighted work is illegal.