!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/./../../lib/evolution-openldap/../python2.4/site-packages/Ft/Xml/XPath/   drwxr-xr-x
Free 5.03 GB of 27.03 GB (18.61%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     MathFunctions.py (1.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
########################################################################
# $Header: /var/local/cvsroot/4Suite/Ft/Xml/XPath/MathFunctions.py,v 1.6 2005/02/09 11:10:54 mbrown Exp $
"""
4XPath-specific math extension functions

Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
"""

import math

from Ft.Xml.XPath import Conversions, FT_EXT_NAMESPACE


def Sin(context, x):
    "math.sin"
    return math.sin(Conversions.NumberValue(x))

def Cos(context, x):
    "math.cos"
    return math.cos(Conversions.NumberValue(x))

def DegreesToRads(context, x):
    "Convert degrees to radians"
    return Conversions.NumberValue(x)/180*math.pi

def Fact(context, x):
    "Factorial"
    x = Conversions.NumberValue(x)
    if x > 1:
        return reduce(lambda x,y: x*y, xrange(1,x+1), 1)
    return 1


ExtNamespaces = {
    FT_EXT_NAMESPACE : 'f',
    }

ExtFunctions = {
    (FT_EXT_NAMESPACE, 'cos'): Cos,
    (FT_EXT_NAMESPACE, 'sin'): Sin,
    (FT_EXT_NAMESPACE, 'degrees-to-rads'): DegreesToRads,
    (FT_EXT_NAMESPACE, 'fact'): Fact,
    }


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