Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /tmp/tsx-1023/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //tmp/tsx-1023/17180-153b93d2ce80e1894a4aad11ab4de45f0cdad639
{"code":"(()=>{\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:true}):target,mod));var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var memory_adapter_exports={};__export(memory_adapter_exports,{default:()=>memory_adapter_default,setStorage:()=>setStorage});module.exports=__toCommonJS(memory_adapter_exports);var import_quick_lru=__toESM(require(\"quick-lru\"));var import_epoch_time=__toESM(require(\"../helpers/epoch_time.js\"));let storage=new import_quick_lru.default({maxSize:1e3});function grantKeyFor(id){return`grant:${id}`}__name(grantKeyFor,\"grantKeyFor\");function sessionUidKeyFor(id){return`sessionUid:${id}`}__name(sessionUidKeyFor,\"sessionUidKeyFor\");function userCodeKeyFor(userCode){return`userCode:${userCode}`}__name(userCodeKeyFor,\"userCodeKeyFor\");const grantable=new Set([\"AccessToken\",\"AuthorizationCode\",\"RefreshToken\",\"DeviceCode\",\"BackchannelAuthenticationRequest\"]);class MemoryAdapter{static{__name(this,\"MemoryAdapter\")}constructor(model){this.model=model}key(id){return`${this.model}:${id}`}async destroy(id){const key=this.key(id);storage.delete(key)}async consume(id){storage.get(this.key(id)).consumed=(0,import_epoch_time.default)()}async find(id){return storage.get(this.key(id))}async findByUid(uid){const id=storage.get(sessionUidKeyFor(uid));return this.find(id)}async findByUserCode(userCode){const id=storage.get(userCodeKeyFor(userCode));return this.find(id)}async upsert(id,payload,expiresIn){const key=this.key(id);if(this.model===\"Session\"){storage.set(sessionUidKeyFor(payload.uid),id,expiresIn*1e3)}const{grantId,userCode}=payload;if(grantable.has(this.model)&&grantId){const grantKey=grantKeyFor(grantId);const grant=storage.get(grantKey);if(!grant){storage.set(grantKey,[key])}else{grant.push(key)}}if(userCode){storage.set(userCodeKeyFor(userCode),id,expiresIn*1e3)}storage.set(key,payload,expiresIn*1e3)}async revokeByGrantId(grantId){const grantKey=grantKeyFor(grantId);const grant=storage.get(grantKey);if(grant){grant.forEach(token=>storage.delete(token));storage.delete(grantKey)}}}var memory_adapter_default=MemoryAdapter;function setStorage(store){storage=store}__name(setStorage,\"setStorage\");0&&(module.exports={setStorage});\n})()\n","warnings":[],"map":{"version":3,"mappings":";i/BAAA,uMAAqB,8BAErB,sBAAsB,6CAEtB,IAAI,QAAU,IAAI,iBAAAA,QAAS,CAAE,QAAS,GAAK,CAAC,EAE5C,SAAS,YAAY,GAAI,CACvB,MAAO,SAAS,EAAE,EACpB,CAFS,kCAIT,SAAS,iBAAiB,GAAI,CAC5B,MAAO,cAAc,EAAE,EACzB,CAFS,4CAIT,SAAS,eAAe,SAAU,CAChC,MAAO,YAAY,QAAQ,EAC7B,CAFS,wCAIT,MAAM,UAAY,IAAI,IAAI,CACxB,cACA,oBACA,eACA,aACA,kCACF,CAAC,EAED,MAAM,aAAc,CA1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