eenblam / peekapp

peekapp is a rule-based IDS layer. Just an old class project.
0 stars 0 forks source link

Simplify URL matching for DNS queries #2

Open eenblam opened 7 years ago

eenblam commented 7 years ago

Instead of the fancy reverse-split('.').-zip-etc business I've been doing, I'm pretty sure that url.endswith(bad_domain) should be sufficient. Thanks, string methods!