Ejemplo n.º 1
0
def test_flag():
    c = Chepy(path).load_file()
    assert (
        c.reverse().rot_13().base64_decode().base32_decode().hexdump_to_str(
        ).output == "StormCTF{Spot3:DcEC6181F48e3B9D3dF77Dd827BF34e0}")
Ejemplo n.º 2
0
def test_reverse():
    c = Chepy(path).load_file()
    assert c.reverse().output[0:10] == "E0SMERSADy"