Hello, I am beginner in Python and I have a text (its content:https://rules.emergingthreats.net/open/suricata-4.0/rules/compromised.rulesand I would like to analyze the classtype that satisfies a condition.
I get all the classtype’s values in an array but I don’t know how to copy all the lines that satisfies the condition. Any help or clue?