forked from franceking1/Flash-Md
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hentai.js
1 lines (1 loc) · 4.19 KB
/
hentai.js
1
const _0x5efca7=_0x41a0;(function(_0x40fabd,_0x5e5187){const _0x308a2f=_0x41a0,_0xc5a7bc=_0x40fabd();while(!![]){try{const _0x263880=parseInt(_0x308a2f(0xe8))/0x1+parseInt(_0x308a2f(0xd9))/0x2*(-parseInt(_0x308a2f(0xe2))/0x3)+parseInt(_0x308a2f(0xe7))/0x4*(parseInt(_0x308a2f(0xd4))/0x5)+parseInt(_0x308a2f(0xe0))/0x6*(-parseInt(_0x308a2f(0xed))/0x7)+parseInt(_0x308a2f(0xd0))/0x8*(parseInt(_0x308a2f(0xe3))/0x9)+parseInt(_0x308a2f(0xd2))/0xa+-parseInt(_0x308a2f(0xcf))/0xb*(parseInt(_0x308a2f(0xd3))/0xc);if(_0x263880===_0x5e5187)break;else _0xc5a7bc['push'](_0xc5a7bc['shift']());}catch(_0x5aefdb){_0xc5a7bc['push'](_0xc5a7bc['shift']());}}}(_0x2264,0xca950),require(_0x5efca7(0xcc))['config']());const {Pool}=require('pg'),s=require(_0x5efca7(0xd5));var dbUrl=s[_0x5efca7(0xe5)]?s[_0x5efca7(0xe5)]:'postgres://db_7xp9_user:6hwmTN7rGPNsjlBEHyX49CXwrG7cDeYi@dpg-cj7ldu5jeehc73b2p7g0-a.oregon-postgres.render.com/db_7xp9';function _0x2264(){const _0x48db44=['SELECT\x20EXISTS\x20(SELECT\x201\x20FROM\x20hentai\x20WHERE\x20groupeJid\x20=\x20$1)','error','INSERT\x20INTO\x20hentai\x20(groupeJid)\x20VALUES\x20($1)','Erreur\x20lors\x20de\x20la\x20suppression\x20du\x20groupe\x20de\x20la\x20liste\x20de\x20hentai\x20:','\x20a\x20été\x20supprimé\x20de\x20la\x20liste\x20de\x20hentai.','4320myTtAK','Erreur\x20lors\x20de\x20la\x20vérification\x20de\x20la\x20présence\x20du\x20groupe\x20dans\x20la\x20liste\x20de\x20hentai\x20:','429747RxzDBT','186957QqUlic','connect','DATABASE_URL','DELETE\x20FROM\x20hentai\x20WHERE\x20groupeJid\x20=\x20$1','164Diahfa','345556rLJqlH','Une\x20erreur\x20est\x20survenue\x20lors\x20de\x20la\x20création\x20de\x20la\x20table\x20\x27hentai\x27:','query','exports','\x0a\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20hentai\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20groupeJid\x20text\x20PRIMARY\x20KEY\x0a\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20','1631rUoSxU','exists','dotenv','rows','Erreur\x20lors\x20de\x20l\x27ajout\x20du\x20groupe\x20à\x20la\x20liste\x20de\x20hentai\x20:','2552oExzNM','456QYQusn','log','7105870MyyJKP','56652temBPD','121780laEkqC','../set','release','La\x20table\x20\x27hentai\x27\x20avec\x20\x27groupeJid\x27\x20comme\x20clé\x20primaire\x20a\x20été\x20créée\x20avec\x20succès.','\x20a\x20été\x20ajouté\x20à\x20la\x20liste\x20de\x20hentai.','16NOTTcZ','Le\x20groupe\x20JID\x20'];_0x2264=function(){return _0x48db44;};return _0x2264();}const proConfig={'connectionString':dbUrl,'ssl':{'rejectUnauthorized':![]}},pool=new Pool(proConfig),creerTableHentai=async()=>{const _0x46c97a=_0x5efca7;try{await pool[_0x46c97a(0xea)](_0x46c97a(0xec)),console['log'](_0x46c97a(0xd7));}catch(_0x5ec7ad){console[_0x46c97a(0xdc)](_0x46c97a(0xe9),_0x5ec7ad);}};creerTableHentai();async function addToHentaiList(_0x422658){const _0x5c6b63=_0x5efca7,_0x59853b=await pool['connect']();try{const _0x5e8c31=_0x5c6b63(0xdd),_0x1fcfab=[_0x422658];await _0x59853b['query'](_0x5e8c31,_0x1fcfab),console[_0x5c6b63(0xd1)](_0x5c6b63(0xda)+_0x422658+_0x5c6b63(0xd8));}catch(_0x59153c){console[_0x5c6b63(0xdc)](_0x5c6b63(0xce),_0x59153c);}finally{_0x59853b[_0x5c6b63(0xd6)]();}}function _0x41a0(_0x275972,_0xcb7292){const _0x2264b0=_0x2264();return _0x41a0=function(_0x41a02c,_0x1f708d){_0x41a02c=_0x41a02c-0xcb;let _0x21e235=_0x2264b0[_0x41a02c];return _0x21e235;},_0x41a0(_0x275972,_0xcb7292);}async function checkFromHentaiList(_0x5276e1){const _0x5adf39=_0x5efca7,_0x2cf7cb=await pool[_0x5adf39(0xe4)]();try{const _0x2be52c=_0x5adf39(0xdb),_0x57953c=[_0x5276e1],_0x5e456a=await _0x2cf7cb[_0x5adf39(0xea)](_0x2be52c,_0x57953c);return _0x5e456a[_0x5adf39(0xcd)][0x0][_0x5adf39(0xcb)];}catch(_0x4767ee){return console['error'](_0x5adf39(0xe1),_0x4767ee),![];}finally{_0x2cf7cb[_0x5adf39(0xd6)]();}}async function removeFromHentaiList(_0x1dea43){const _0x116ca8=_0x5efca7,_0x1b7d73=await pool[_0x116ca8(0xe4)]();try{const _0x44ac04=_0x116ca8(0xe6),_0x5acf06=[_0x1dea43];await _0x1b7d73[_0x116ca8(0xea)](_0x44ac04,_0x5acf06),console['log'](_0x116ca8(0xda)+_0x1dea43+_0x116ca8(0xdf));}catch(_0x298628){console['error'](_0x116ca8(0xde),_0x298628);}finally{_0x1b7d73[_0x116ca8(0xd6)]();}}module[_0x5efca7(0xeb)]={'addToHentaiList':addToHentaiList,'checkFromHentaiList':checkFromHentaiList,'removeFromHentaiList':removeFromHentaiList};