From 83915d85fe533f0f0777388b28311155036cc950 Mon Sep 17 00:00:00 2001 From: josh! Date: Thu, 4 Jul 2024 17:03:40 +1200 Subject: [PATCH] add braincipher --- parsers.py | 11 +++++++++++ ransomwatch.py | 1 + ...jirmz6j5ubp3w3bwvxgcdbpi3fsbqngfynetqtw4w5hyd.html | 0 3 files changed, 12 insertions(+) create mode 100644 source/braincipher-vkvsgl7lhipjirmz6j5ubp3w3bwvxgcdbpi3fsbqngfynetqtw4w5hyd.html diff --git a/parsers.py b/parsers.py index f89abb6f739..2da1f52e1da 100644 --- a/parsers.py +++ b/parsers.py @@ -1556,3 +1556,14 @@ def pryx(): errlog('pryx: ' + 'parsing fail') for post in posts: appender(post, 'pryx') + +def braincipher(): + stdlog('parser: ' + 'braincipher') + parser = ''' + grep 'class="h5">' source/braincipher-*.html | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u | sed '/More important than money, only honor./d' | sed '/Space for your advertising./d' | sed '/Very expensive advertising./d' + ''' + posts = runshellcmd(parser) + if len(posts) == 1: + errlog('braincipher: ' + 'parsing fail') + for post in posts: + appender(post, 'braincipher') diff --git a/ransomwatch.py b/ransomwatch.py index 350fb638f15..ece5ed098d7 100755 --- a/ransomwatch.py +++ b/ransomwatch.py @@ -315,4 +315,5 @@ def appender(name, location): parsers.sensayq() parsers.cicada3301() parsers.pryx() + parsers.braincipher() stdlog('ransomwatch: ' + 'parse run complete') diff --git a/source/braincipher-vkvsgl7lhipjirmz6j5ubp3w3bwvxgcdbpi3fsbqngfynetqtw4w5hyd.html b/source/braincipher-vkvsgl7lhipjirmz6j5ubp3w3bwvxgcdbpi3fsbqngfynetqtw4w5hyd.html new file mode 100644 index 00000000000..e69de29bb2d