!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/bin/X11/./../../share/java-1.5.0/../doc/gnome-python2-bonobo-2.10.0/   drwxr-xr-x
Free 5.22 GB of 27.03 GB (19.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     bonobo-application.py (1.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#! /usr/bin/env python
import pygtk; pygtk.require("2.0")

import bonobo, sys

TEST_MESSAGE="test-message"
CLOSURE_MESSAGE="closure-message"

def message_quit_cb(app_client, message, args):
    bonobo.main_quit()

def message_cb(app_client, message, args):
    print "message_cb: %s(%s)" % (message, ",".join(map(str, args)))
    return 2*args[0]

def new_instance_cb(app, argc, argv):
    print "new-instance received, argv:", argv
    return argc

def closure_message_cb(app, arg_1, arg_2, user_data):
    print "closure_message_cb: ", app, arg_1, arg_2, user_data
    return arg_1 * arg_2



def main(argv):
    msg_arg = 3.141592654

    bonobo.activate()

    app = bonobo.Application("Libbonobo-Test-Uniqapp")

    app.register_message(CLOSURE_MESSAGE,
             "This is a test message",
             float, (int, float),
             closure_message_cb, "user-data")

    client = app.register_unique(app.create_serverinfo(("LANG",)))
    if client is not None:
    print "I am an application client."
    app.unref(); del app
    
    msgdescs = client.msg_list()
    for msgdesc in msgdescs:
        print "Application supports message:", msgdesc

    print "Sending message string '%s' with argument %f" % (
        TEST_MESSAGE, msg_arg)
    retval = client.msg_send(TEST_MESSAGE, (msg_arg, "this is a string"))
    print "Return value:", retval

    print "Sending message string '%s' with arguments %i and %f" % (
        CLOSURE_MESSAGE, 10, 3.141592654)
    retval = client.msg_send(CLOSURE_MESSAGE, (10, 3.141592654))
    print "Return value: ", retval

    print "Sending new-instance, with argv"
    i = client.new_instance(argv)
    print "new-instance returned ", i

    print "Asking the server to quit"
    client.msg_send("quit", ())
    return
    else:
    print "I am an application server"
    app.connect("message::test-message", message_cb)
    app.connect("new-instance", new_instance_cb)
    app.new_instance(argv)
    app.connect("message::quit", message_quit_cb)

    bonobo.main()
    app.unref()

main(sys.argv)


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