Kerala Cyber
Warriors
KCW Uploader V1.1
#!/opt/cpguard/cpg-php-fpm/bin/php
<?php
## DO NOT CUSTOMISE THIS FILE
## This file may be updated during software update
## Please make a copy of the file for customising it
$json = shell_exec("/usr/bin/nodeworx -u -n -c Siteworx -a listAccounts --output-style json");
$json = json_decode($json);
$result = [];
if (is_array($json)) {
foreach ($json as $item) {
$result[] = [
'user' => $item->uniqname,
'email' => $item->email
];
}
}
echo json_encode($result, JSON_PRETTY_PRINT);
-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ