Zikula_System_Modules
[ class tree: Zikula_System_Modules ] [ index: Zikula_System_Modules ] [ all elements ]

Procedural File: pnuserapi.php

Source Location: /system/SecurityCenter/pnuserapi.php



Page Details:

Zikula Application Framework



Tags:

author:  Cafe CounterIntelligence PHP Website Security Script 1.7
author:  larsneo & neo
author:  Mike Parniak www.cafecounterintelligence.com
version:  $Id: pnuserapi.php 24343 2008-06-06 12:31:22Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








securitycenter_userapi_countitems [line 90]

int securitycenter_userapi_countitems( )

utility function to count the number of items held by this module



Tags:

return:  number of items held by this module
author:  Mark West


[ Top ]



securitycenter_userapi_get [line 68]

mixed securitycenter_userapi_get( $args, int $args['hid'])

get a specific hack attempt



Tags:

return:  item array, or false on failure
author:  Mark West


Parameters

int   $args['hid']   id of hack item to get
   $args  
[ Top ]



securitycenter_userapi_getall [line 22]

mixed securitycenter_userapi_getall( $args, int $args['startnum'], int $args['numitems'])

get all hack attempts in db



Tags:

return:  array of items, or false on failure
author:  Mark West


Parameters

int   $args['startnum']   the start number for the record set
int   $args['numitems']   number of items to get
   $args  
[ Top ]



securitycenter_userapi_loghackattempt [line 187]

none securitycenter_userapi_loghackattempt( array $args)

Log hack attempt



Tags:

author:  Mark West


Parameters

array   $args   args array is passed directly to other functions
[ Top ]



securitycenter_userapi_loghackattempttodb [line 205]

bool securitycenter_userapi_loghackattempttodb( array $args)

Logs hack attempt in DB



Tags:

return:  true if successful, false otherwise
author:  Mark West


Parameters

array   $args   full set of http post, get etc. args
[ Top ]



securitycenter_userapi_mailhackattempt [line 299]

bool securitycenter_userapi_mailhackattempt( array $args)

E-mail hack attempt



Tags:

return:  true if successful, false otherwise
author:  Mark West


Parameters

array   $args   full set of http post, get etc. args
[ Top ]



securitycenter_userapi_secureinput [line 105]

bool securitycenter_userapi_secureinput( )

Secure input

Protects against basic attempts of Cross-Site Scripting see http://technicalinfo.net/papers/CSS.html




Tags:

return:  true on success, false otherwise
author:  Andreas Krapohl
author:  Brook Humphrey
author:  Francisco Sam Castillo
author:  Timax


[ Top ]



securitycenter_userapi_secureoutput [line 440]

string securitycenter_userapi_secureoutput( $args, string $args['var'], int $args['filter'])

secureoutput loads all necessary files for a selected outputfilter and calls it



Tags:

return:  the sanitized string if filter is used


Parameters

string   $args['var']   the string that should be filtered
int   $args['filter']   the filter to use, if not set, we use the configured outputfilter)
   $args  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:55:59 +0200 by phpDocumentor 1.4.1