| a Treasure |
bb{easy_r3v_challenge_s0lv3d}
import base64
import hashlib
def decode_message():
encoded = 'YmJ7ZWFzeV9yM3ZfY2hhbGxlbmdlX3MwbHYzZH0='
key = hashlib.md5(b's3cr3t_k3y').hexdigest()[:8]
data = base64.b64decode(encoded).decode('utf-8')
result = ''
for i, char in enumerate(data):
result += chr(ord(char) ^ ord(key[i % len(key)]))
pass
return result
def main():
print('The secret treasure is hidden in: **********')
hidden = decode_message()
def solve():
encoded = 'YmJ7ZWFzeV9yM3ZfY2hhbGxlbmdlX3MwbHYzZH0='
data = base64.b64decode(encoded).decode('utf-8')
print(data)
if __name__ == '__main__':
solve()
|
2026-11-09 13:12 |
| X-0-R |
CTFLearn{y0u_x0r3d_th3_c0d3}
import sys
import os
def __x(data):
def __f(b):
return b ^ 7
return bytes(map(__f, data))
def __c(arg):
with open(arg, 'rb') as h:
data = h.read()
o = __x(data)
out = arg + ".enc"
with open(out, 'wb') as h2:
h2.write(o)
print(f'Encrypted file saved as: {out}')
def __d():
a = sys.argv
if len(a) != 2:
print(f'Usage: python {os.path.basename(a[0])} <filename>')
exit(1)
__c(a[1])
def solve():
# idk
with open("flag.txt.enc", 'rb') as h:
data = h.read()
o = __x(data)
out = "solved.txt"
with open(out, 'wb') as h2:
h2.write(o)
if __name__ == "__main__":
# __d()
solve()
|
2026-11-09 13:02 |
| Ageis crackme :3 |
Pretty fun tbf but took like 3 mins: OsBuiltinsPass
import os
os.system('color')
def MainColor(text):
start_color = (30, 58, 138)
end_color = (114, 14, 158)
num_steps = 9
colors = []
for i in range(num_steps):
r = start_color[0] + (end_color[0] - start_color[0]) * i // (num_steps - 1)
g = start_color[1] + (end_color[1] - start_color[1]) * i // (num_steps - 1)
b = start_color[2] + (end_color[2] - start_color[2]) * i // (num_steps - 1)
colors.append((r, g, b))
colors += list(reversed(colors[:(-1)]))
gradient_chars = '┴┼┘┤└┐─┬├┌└│]░▒░▒█▓▄▌▀()▄▒▓█░'
def text_color(r, g, b):
return f'?[38;2;{r};{g};{b}m'
lines = text.split('\n')
num_colors = len(colors)
result = []
for i, line in enumerate(lines):
for j, char in enumerate(line):
if char in gradient_chars:
color_index = (i + j) % num_colors
color = colors[color_index]
result.append(text_color(*color) + char + '?[0m')
else:
result.append(char)
if i < len(lines) - 1:
result.append('\n')
return ''.join(result)
ascii_art = ' ▄▄▄ ▄████ ▓█████ ██▓ ██████ \n▒████▄ ██▒ ▀█▒▓█ ▀ ▓██▒▒██ ▒ \n▒██ ▀█▄ ▒██░▄▄▄░▒███ ▒██▒░ ▓██▄ \n░██▄▄▄▄██ ░▓█ ██▓▒▓█ ▄ ░██░ ▒ ██▒\n ▓█ ▓██▒░▒▓███▀▒░▒████▒░██░▒██████▒▒\n ▒▒ ▓▒█░ ░▒ ▒ ░░ ▒░ ░░▓ ▒ ▒▓▒ ▒ ░\n ▒ ▒▒ ░ ░ ░ ░ ░ ░ ▒ ░░ ░▒ ░ ░\n ░ ▒ ░ ░ ░ ░ ▒ ░░ ░ ░ \n ░ ░ ░ ░ ░ ░ ░ \n \n[ AGEIS ] obf with: https://nizzix.xyz\n '
import shutil
terminal_width = shutil.get_terminal_size().columns
lines = ascii_art.split('\n')
centered_lines = []
for line in lines:
padding = (terminal_width - len(line)) // 2
centered_lines.append(' ' * padding + line)
centered_ascii = '\n'.join(centered_lines)
os.system('cls')
print('\n')
print(MainColor(centered_ascii))
exitos = None
def exitos():
x = input
try:
pwd = x('Enter a password: ')
except KeyboardInterrupt:
print('\nKeyboard interrupt detected, exiting.')
else:
if pwd == 'OsBuiltinsPass':
print('Access granted')
else:
print('Access denied')
exitos()
exitos()
|
2026-11-09 12:42 |
| Ageis crackme :3 |
https://www.mediafire.com/file/7t4j7u8lxj6rklg/Source.7z/file
|
2026-09-09 18:41 |