Update zip-path-overwrite.yaml

patch-1
Prince Chaddha 2023-06-28 10:36:23 +05:30 committed by GitHub
parent 6f0d8062fe
commit 7246b17ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -14,15 +14,15 @@ file:
matchers: matchers:
- type: regex - type: regex
regex: regex:
- "\\$X = require\\('unzip'\\)" - "require\\('unzip'\\)"
- "\\$X = require\\('unzipper'\\)" - "require\\('unzipper'\\)"
- "\\$Y\\.pipe\\(\\$UNZIP\\.Parse\\(...\\)\\)\\.on\\('entry', function $FUNC\\(...\\) {" - "[\\w\\W]+?\\.pipe\\([\\w\\W]+?\\.Parse\\([\\w\\W]*?\\)\\)\\.on\\('entry', function [\\w\\W]*?\\([\\w\\W]*?\\) \\{"
- "\\$X = \\$FILENAME\\.indexOf\\(...\\)" - "[\\w\\W]+? = [\\w\\W]+?\\.indexOf\\([\\w\\W]*?\\)"
- "\\$FUNC\\.pipe\\(\\$FS\\.createWriteStream\\(\\$FIL, ...\\)\\)" - "[\\w\\W]+?\\.pipe\\([\\w\\W]+?\\.createWriteStream\\([\\w\\W]*?\\)\\)"
- "\\$FUNC\\.pipe\\(\\$FS\\.writeFile\\(\\$FIL, ...\\)\\)" - "[\\w\\W]+?\\.pipe\\([\\w\\W]+?\\.writeFile\\([\\w\\W]*?\\)\\)"
- "\\$FUNC\\.pipe\\(\\$FS\\.writeFileSync\\(\\$FIL, ...\\)\\)" - "[\\w\\W]+?\\.pipe\\([\\w\\W]+?\\.writeFileSync\\([\\w\\W]*?\\)\\)"
- "\\$UNZIP\\.Parse\\(...\\)\\.on\\('entry', function \\$FUNC\\(\\$ENTRY\\) {" - "[\\w\\W]+?\\.Parse\\([\\w\\W]*?\\)\\.on\\('entry', function [\\w\\W]*?\\([\\w\\W]*?\\) \\{"
- "\\$FS\\.createWriteStream\\(\\$FIL, ...\\)" - "[\\w\\W]+?\\.createWriteStream\\([\\w\\W]*?\\)"
- "\\$FS\\.writeFile\\(\\$FIL, ...\\)" - "[\\w\\W]+?\\.writeFile\\([\\w\\W]*?\\)"
- "\\$FS\\.writeFileSync\\(\\$FIL, ...\\)" - "[\\w\\W]+?\\.writeFileSync\\([\\w\\W]*?\\)"
condition: or condition: or