mallorybowes / chrome-mal-ids

Effort to list and aggregate known malicious Google Chrome Extension IDs
49 stars 14 forks source link

Bad substitution issues on shell script #10

Closed mallorybowes closed 4 years ago

mallorybowes commented 4 years ago

Yep, I saw it. I'll do some more research tomorrow and fix it but the script will still check for matching malicious extensions ok. (The function that has the issue has to do with the downloaded file integrity check.)

image

mallorybowes commented 4 years ago

I confirmed the code worked before merging the pull request and I've done the following to rule out issues:

One thing that does look weird in the debug is for the following array comparison: image Looking for those extension names before that operator does not exist in any of the source extension files. Extensions after the =~ operator, the extension IDs do exist in the source files. image image

Going to ask the contrib of that portion of the script to see if he can see what I'm missing. (I'm a hack, not a programmer, as anyone can tell by looking at my contribs... :-) )

mallorybowes commented 4 years ago

Tested the script and everything works as expected. Thanks for the help and enhancements!