diff --git a/file/nodejs/zip-path-overwrite.yaml b/file/nodejs/zip-path-overwrite.yaml index 341deb715d..1ac8f4e113 100644 --- a/file/nodejs/zip-path-overwrite.yaml +++ b/file/nodejs/zip-path-overwrite.yaml @@ -14,15 +14,15 @@ file: extractors: - type: regex regex: - - "\\$X = require\\('unzip'\\)" - - "\\$X = require\\('unzipper'\\)" - - "\\$Y\\.pipe\\(\\$UNZIP\\.Parse\\(...\\)\\)\\.on\\('entry', function $FUNC\\(...\\) {" - - "\\$X = \\$FILENAME\\.indexOf\\(...\\)" - - "\\$FUNC\\.pipe\\(\\$FS\\.createWriteStream\\(\\$FIL, ...\\)\\)" - - "\\$FUNC\\.pipe\\(\\$FS\\.writeFile\\(\\$FIL, ...\\)\\)" - - "\\$FUNC\\.pipe\\(\\$FS\\.writeFileSync\\(\\$FIL, ...\\)\\)" - - "\\$UNZIP\\.Parse\\(...\\)\\.on\\('entry', function \\$FUNC\\(\\$ENTRY\\) {" - - "\\$FS\\.createWriteStream\\(\\$FIL, ...\\)" - - "\\$FS\\.writeFile\\(\\$FIL, ...\\)" - - "\\$FS\\.writeFileSync\\(\\$FIL, ...\\)" + - "\\$X = require\\('unzip'\\)" + - "\\$X = require\\('unzipper'\\)" + - "\\$Y\\.pipe\\(\\$UNZIP\\.Parse\\(...\\)\\)\\.on\\('entry', function $FUNC\\(...\\) {" + - "\\$X = \\$FILENAME\\.indexOf\\(...\\)" + - "\\$FUNC\\.pipe\\(\\$FS\\.createWriteStream\\(\\$FIL, ...\\)\\)" + - "\\$FUNC\\.pipe\\(\\$FS\\.writeFile\\(\\$FIL, ...\\)\\)" + - "\\$FUNC\\.pipe\\(\\$FS\\.writeFileSync\\(\\$FIL, ...\\)\\)" + - "\\$UNZIP\\.Parse\\(...\\)\\.on\\('entry', function \\$FUNC\\(\\$ENTRY\\) {" + - "\\$FS\\.createWriteStream\\(\\$FIL, ...\\)" + - "\\$FS\\.writeFile\\(\\$FIL, ...\\)" + - "\\$FS\\.writeFileSync\\(\\$FIL, ...\\)" condition: or