def generate_snort_rules(blacklist, start_sid=1000000):
    for word in blacklist:
        start_sid += 1
        print (word.strip(), start_sid) % "reject tcp any any -> any any (content: \"%s\";sid: %d;)"
dataset/ETHPy150Open phoeagon/gfw-sim/keywords/generate_snort_rules.py/generate_snort_rules/swapped operands of `%`