Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 216.73.216.210
Web Server : Apache/2.4.65 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/3/cwd/usr/share/doc/uwsgi-core/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/cwd/usr/share/doc/uwsgi-core/tests//mulefunc.py
from uwsgidecorators import *

@timer(3, target='mule1')
def hello_timer(signum):
    print("3 seconds elapsed")


@mulefunc
def conto_fino_a_dieci(uno, due, tre):
    print("MULE ID %d: conto_fino_a_dieci" % uwsgi.mule_id(),uno,due,tre)

@mulefunc(2)
def conto_fino_a_venti(uno, due, tre):
    print("MULE ID %d: conto_fino_a_venti" % uwsgi.mule_id(),uno,due,tre)

@mulefunc('topogigio')
def conto_fino_a_trenta(uno, due, tre):
    print("MULE ID %d: conto_fino_a_trenta" % uwsgi.mule_id(),uno,due,tre)



def application(e, sr):
   conto_fino_a_dieci(1,2,3)
   conto_fino_a_venti(4,5,6)
   conto_fino_a_trenta(7,8,9)
   sr('200 OK', [('Content-Type','text/html')])
   return "MULE !!!"

Anon7 - 2022
AnonSec Team