check my website to convert poly to binary: reznov.is-great.org/polytobinary
very easy hint: convert the poly into binary, then to hex, then to ascii
finally, solved.
Could i please DM you on discord, i've been stuck on this challenge for a long time
exponents = [ 206,205,202,201,198,197,195,194,190,189,184,182,181,178,177,176, 174,173,172,171,169,168,166,165,164,157,156,150,149,147,146,142, 141,140,139,136,134,133,131,130,129,126,125,123,122,121,120,118, 117,115,114,112,109,108,104,102,101,96,94,93,91,90,86,85,84,81, 80,78,76,75,74,73,72,69,68,66,62,61,60,57,53,52,49,48,46,44,43, 42,41,40,38,37,35,33,32,29,28,21,20,14,13,11,10,6,5,4,3,2,0 ]
max_exp = max(exponents)
binary = ''.join('1' if i in exponents else '0' for i in range(max_exp, -1, -1))
hex_value = hex(int(binary, 2))[2:] # شيل "0x"
if len(hex_value) % 2 != 0: hex_value = "0" + hex_value
ascii_text = bytes.fromhex(hex_value).decode(errors="ignore")
print("[+] Binary:", binary) print("[+] Hex:", hex_value) print("[+] ASCII:", ascii_text)
check my website to convert poly to binary: reznov.is-great.org/polytobinary
very easy hint: convert the poly into binary, then to hex, then to ascii
finally, solved.
Could i please DM you on discord, i've been stuck on this challenge for a long time
3 days ago
exponents = [ 206,205,202,201,198,197,195,194,190,189,184,182,181,178,177,176, 174,173,172,171,169,168,166,165,164,157,156,150,149,147,146,142, 141,140,139,136,134,133,131,130,129,126,125,123,122,121,120,118, 117,115,114,112,109,108,104,102,101,96,94,93,91,90,86,85,84,81, 80,78,76,75,74,73,72,69,68,66,62,61,60,57,53,52,49,48,46,44,43, 42,41,40,38,37,35,33,32,29,28,21,20,14,13,11,10,6,5,4,3,2,0 ]
max_exp = max(exponents)
binary = ''.join('1' if i in exponents else '0' for i in range(max_exp, -1, -1))
hex_value = hex(int(binary, 2))[2:] # شيل "0x"
if len(hex_value) % 2 != 0: hex_value = "0" + hex_value
ascii_text = bytes.fromhex(hex_value).decode(errors="ignore")
print("[+] Binary:", binary) print("[+] Hex:", hex_value) print("[+] ASCII:", ascii_text)