Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/wa.picotech.app/public_html/node_modules/yargs-parser/lib/ drwxr-xr-x |
Viewing file: Select action/file-type: // take an un-split argv string and tokenize it. module.exports = function (argString) { if (Array.isArray(argString)) { return argString.map(e => typeof e !== 'string' ? e + '' : e) } argString = argString.trim() let i = 0 let prevC = null let c = null let opening = null const args = [] for (let ii = 0; ii < argString.length; ii++) { prevC = c c = argString.charAt(ii) // split on spaces unless we're in quotes. if (c === ' ' && !opening) { if (!(prevC === ' ')) { i++ } continue } // don't split the string if we're in matching // opening or closing single and double quotes. if (c === opening) { opening = null } else if ((c === "'" || c === '"') && !opening) { opening = c } if (!args[i]) args[i] = '' args[i] += c } return args } |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0043 ]-- |