写了个英文火星文转换脚本,用来生成flag

def replace_letters(input_str):
    replacement = "48(d3f9h!jk1mn0pqr57uvwxy2"
    input_str = input_str.lower()
    result = ""
    for char in input_str:
        if 'a' <= char <= 'z': 
            index = ord(char) - ord('a')
            result += replacement[index] 
        else:
            result += char
    return result

if __name__ == "__main__":
    input_string = input("请输入字符串: ") 
    output_string = replace_letters(input_string)
    print(f"转换后的字符串: {output_string}")

又水了一期博客,你有这时间怎么不多复现几个样本