!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/lib/pymodules/python2.6/deskbar/handlers/actions/   drwxr-xr-x
Free 129.81 GB of 142.11 GB (91.35%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     OpenWithApplicationAction.py (1.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
from deskbar.core.Utils import spawn_async, is_program_in_path
from gettext import gettext as _
from os.path import exists, isabs
import deskbar.interfaces.Action
import logging

LOGGER = logging.getLogger(__name__)

class OpenWithApplicationAction(deskbar.interfaces.Action):
    """
    Open application
    """
    
    def __init__(self, name, program, arguments, display_program_name=None):
        """
        @param program: program name (if in $PATH) or absolute path of program
        @param arguments: list of arguments that should be used
        @param display_program_name: Name used for display.
        If omitted C{program} is used.
        """
        deskbar.interfaces.Action.__init__(self, name)
        self._program = program
        if arguments != None and len(arguments) > 0:
            self._arguments = arguments
        else:
            self._arguments = []
        if display_program_name == None:
            self._display_program_name = program
        else:
            self._display_program_name = display_program_name
    
    def get_icon(self):
        return "gtk-open"
    
    def is_valid(self):
        if isabs(self._program):
            returnval = exists(self._program)
        else:
            returnval = is_program_in_path(self._program)
        if not returnval:
            LOGGER.debug("%s does not exist", self._program)
        return returnval
       
    def get_hash(self):
        return self._program+" ".join(self._arguments)
        
    def get_verb(self):
        return _("Open <b>%(name)s</b> with <b>%(program)s</b>")
    
    def get_name(self, text=None):
        return {"name": self._name, "program": self._display_program_name}
    
    def activate(self, text=None):
        spawn_async([self._program] + self._arguments)

:: 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.0086 ]--