!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/lib/python2.4/site-packages/Ft/Rdf/Inference/   drwxr-xr-x
Free 3.99 GB of 27.03 GB (14.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Command.py (1.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
########################################################################
#
# File Name:            Command.py
#
# Documentation:        http://docs.4suite.org/4Rdf/Inference/Command.py.html
#
"""

WWW: http://4suite.org/4RDF         e-mail: support@4suite.org

Copyright (c) 1999 Fourthought Inc, USA.   All Rights Reserved.
See  http://4suite.org/COPYRIGHT  for license and copyright information
"""

from Ft import Rdf
#import Common
import InferenceEngine

class Command:
    def __init__(self, id_):
        self.id = id_
        return

    def execute(self, infEng, context):
        raise "Must Override"


#Some start and stop actions
class StopCommand(Command):
    def __init__(self):
        Command.__init__(self,Rdf.RIL_NAMESPACE + '#stop')
        return

    def execute(self, infEng, context):
        infEng.state = InferenceEngine.InferenceEngine.STOPPED
        return

    def _4rdf_dump(self,indent=0):
        iStr = "\t"*indent
        rt = iStr + "<ril:stop/>"
        return rt



class FireCommand(Command):
    def __init__(self):
        Command.__init__(self,Rdf.RIL_NAMESPACE + '#fire')
        return

    def execute(self, infEng, context):
        infEng.fire(context)

    def _4rdf_dump(self,indent=0):
        iStr = "\t"*indent
        rt = iStr + "<ril:fire/>"
        return rt


class MessageCommand(Command):
    def __init__(self,args):
        Command.__init__(self,Rdf.RIL_NAMESPACE + '#message')
        self.args = args
        return

    def execute(self, infEng, context):
        infEng.outStream.write("**Start Ril Message**\n")
        for arg in self.args:
            a = arg.execute(infEng,context)
            infEng.outStream.write(str(a) + '\n')
        infEng.outStream.write("**End Ril Message**\n")

    def _4rdf_dump(self,indent=0):
        iStr = "\t"*indent
        rt = iStr + "<ril:message>\n"
        for arg in self.args:
            rt = rt + arg._4rdf_dump(indent+1)
        rt = rt + iStr + "</ril:message>\n"
        return rt


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0033 ]--