Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace parsers using alnum #17

Closed
4 tasks
joshhighet opened this issue Jun 30, 2022 · 0 comments
Closed
4 tasks

replace parsers using alnum #17

joshhighet opened this issue Jun 30, 2022 · 0 comments
Assignees
Labels
🐛 bug something ain't working rainyday 🌧 🏠 things to do when all else is done

Comments

@joshhighet
Copy link
Owner

when using alnum content can easily be missed. when using [0-9A-Za-z], the following would pass Advanced Micro Devices but with the added comma the following would fail to be picked up Advanced Micro Devices, Inc

ref grep/manual/bracketexpressions

./assets/parsers.sh -p | grep egrep
egrep -o 'class="title">([[:alnum:]]| |\.)+</a>' source/groove-*.html | cut -d '>' -f2 | cut -d '<' -f 1
egrep -o '<span style="font-size:20px;">([[:alnum:]]| |\.)+</span>' source/kelvinsecurity-*.html | cut -d '>' -f 2 | cut -d '<' -f 1
egrep -o 'fqd.onion/\?id=([[:alnum:]]| |\.)+"' source/blackbasta-*.html | cut -d = -f 2 | cut -d '"' -f 1 | sed -e 's/^ *//g' -e 's/[[:space:]]*$//'
egrep -o 'class="cls_recordTop"><p>([[:alnum:]]| |\.)+</p>' source/ransomhouse-*.html | cut -d '>' -f 3 | cut -d '<' -f 1

  • groove
  • kelvin
  • basta
  • house
@joshhighet joshhighet added the 🐛 bug something ain't working label Jun 30, 2022
@joshhighet joshhighet self-assigned this Jun 30, 2022
@joshhighet joshhighet added the rainyday 🌧 🏠 things to do when all else is done label Aug 15, 2022
joshhighet added a commit that referenced this issue Sep 6, 2022
joshhighet added a commit that referenced this issue Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug something ain't working rainyday 🌧 🏠 things to do when all else is done
Projects
None yet
Development

No branches or pull requests

1 participant