Complete security audit fixes

This commit is contained in:
Thanakorn S
2026-03-09 14:31:39 +07:00
parent 93d903c4b2
commit 7cb78d013b
33 changed files with 317 additions and 313 deletions
+1 -14
View File
@@ -3,20 +3,7 @@
//<><><><><><><><> MAIN TRCLOUD <><><><><><><><>//
if(true){
$expire = "2027-01-01";
// unique key
$pinkey = "wms";
/**
* default smtp server
*/
$SMTP = [];
$SMTP['server'] = "smtp.gmail.com";
$SMTP['username'] = "thanakorn.inbox@gmail.com";
$SMTP['port'] = "587";
$SMTP['password'] = "duuo vnad rdax hgpt";
// password encoding
$method = "AES-256-CBC";
$iv = "1234567890123456"; // Must be exactly 16 bytes
$SMTP['password'] = openssl_encrypt($SMTP['password'], $method, $pinkey, 0, $iv);
}