!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

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

Safe-mode: OFF (not secure)

/usr/share/doc/mailman/examples/ru/   drwxr-xr-x
Free 130 GB of 142.11 GB (91.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     s2s.py (1.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#! /usr/bin/python

# A simple script to check the status of the translation.

import sys, string
from pprint import pprint

def chop (line):
    if line[-2:] == '\r\n':
        line = line[:-2]

    if line[-1:] == '\n':
        line = line[:-1]

    return line

def cmprevision (a, b):
    '''revisions are something delimited with dots'''

    return cmp (map (lambda x: x.lower (), a.split ('.')), map (lambda x: x.lower (), b.split ('.')))

name = None
revision = None

files = {}

for line in sys.stdin.readlines ():
    parts = string.split (chop (line))

    if len (parts) > 0:
        if parts[0] == 'File:':
            name = parts[1]
        elif parts[0] == 'Repository':
            files[name] = parts[2]

# pprint (files)

action = 0

for line in open ('status', 'r').readlines ():
    parts = string.split (chop (line))

    if len (parts) > 0:
        if files.has_key (parts[0]):
            pass    # check the version

            relation = cmprevision (parts[1], files[parts[0]])

            if relation < 0:
                print 'Update: %s (%s -> %s)' % (parts[0], parts[1], files[parts[0]])
                action = 1
            elif relation > 0:
                print 'Downgrade?: %s (%s -> %s)' % (parts[0], parts[1], files[parts[0]])
                action = 1

            del files[parts[0]] # delete the item
        else:
            print 'Delete:', parts[0]
            action = 1

for file in files.keys ():
    print 'New:', file
    action = 1

if not action:
    print 'You are translating the latest versions'

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0209 ]--