CHips L MINI SHELL

CHips L pro

Current Path : /proc/self/root/proc/self/root/proc/2/root/proc/3/cwd/scripts/
Upload File :
Current File : //proc/self/root/proc/self/root/proc/2/root/proc/3/cwd/scripts/cleanphpsessions.php

<?php
    # cpanel12 - cleanhordesessions.php          Copyright(c) 1997-2008 cPanel, Inc.
    #                                                           All rights Reserved.
    # copyright@cpanel.net                                         http://cpanel.net
    # This code is subject to the cPanel license. Unauthorized copying is prohibited
    $user = $argv[1];
    $day  = time() - 86400;
    $dbh  = sqlite_open("/var/cpanel/userhomes/$user/sessions/phpsess.sdb" );

    sqlite_query($dbh, "DELETE FROM session_data WHERE updated < $day");
    sqlite_query($dbh, "VACUUM");
    sqlite_close($dbh);
?>


Copyright 2K16 - 2K18 Indonesian Hacker Rulez