|
| updateConfFromDb () |
|
| setConn ($conn) |
|
| getConf () |
|
| purge ($redirect_to_top=false) |
|
| purgeSession () |
|
| purgeCookies () |
|
| purgeNoExit () |
|
| output_log ($type='UNKNOWN', $uid=0, $unique_check=false, $level=1) |
|
| write_file_bwlimit ($expire) |
|
| get_bwlimit () |
|
| write_file_badips ($bad_ips) |
|
| register_bad_ips ($jailed_time=0, $ip=null) |
|
| get_bad_ips ($with_jailed_time=false) |
|
| get_group1_ips ($with_info=false) |
|
| get_filepath4confighcache () |
|
| ip_match ($ips) |
|
| deny_by_htaccess ($ip=null) |
|
| getDblayertrapDoubtfuls () |
|
| dblayertrap_init ($force_override=false) |
|
| bigumbrella_init () |
|
| bigumbrella_outputcheck ($s) |
|
| intval_allrequestsendid () |
|
| eliminate_dotdot () |
|
& | get_ref_from_base64index (&$current, $indexes) |
|
| replace_doubtful ($key, $val) |
|
| check_uploaded_files () |
|
| check_contami_systemglobals () |
|
| check_sql_isolatedcommentin ($sanitize=true) |
|
| check_sql_union ($sanitize=true) |
|
| stopforumspam ($uid) |
|
| stopForumSpamLookup ($email, $ip, $username) |
|
| check_dos_attack ($uid=0, $can_ban=false) |
|
| check_brute_force () |
|
| spam_check ($points4deny, $uid) |
|
| disable_features () |
|
| call_filter ($type, $dying_message='') |
|
◆ __construct()
◆ _bigumbrella_check_recursive()
_bigumbrella_check_recursive |
( |
|
$val | ) |
|
|
protected |
◆ _dblayertrap_check_recursive()
_dblayertrap_check_recursive |
( |
|
$val | ) |
|
|
protected |
◆ _initial_recursive()
_initial_recursive |
( |
|
$val, |
|
|
|
$key |
|
) |
| |
|
protected |
◆ _spam_check_point_recursive()
_spam_check_point_recursive |
( |
|
$val | ) |
|
|
protected |
◆ bigumbrella_init()
◆ bigumbrella_outputcheck()
bigumbrella_outputcheck |
( |
|
$s | ) |
|
◆ call_filter()
call_filter |
( |
|
$type, |
|
|
|
$dying_message = '' |
|
) |
| |
- Parameters
-
| $type | |
string | $dying_message | |
- Returns
- int|mixed
◆ check_brute_force()
◆ check_contami_systemglobals()
check_contami_systemglobals |
( |
| ) |
|
◆ check_dos_attack()
check_dos_attack |
( |
|
$uid = 0 , |
|
|
|
$can_ban = false |
|
) |
| |
◆ check_sql_isolatedcommentin()
check_sql_isolatedcommentin |
( |
|
$sanitize = true | ) |
|
◆ check_sql_union()
check_sql_union |
( |
|
$sanitize = true | ) |
|
◆ check_uploaded_files()
◆ dblayertrap_init()
dblayertrap_init |
( |
|
$force_override = false | ) |
|
◆ deny_by_htaccess()
deny_by_htaccess |
( |
|
$ip = null | ) |
|
◆ disable_features()
◆ eliminate_dotdot()
◆ get_bad_ips()
get_bad_ips |
( |
|
$with_jailed_time = false | ) |
|
- Parameters
-
- Returns
- array|mixed
◆ get_bwlimit()
◆ get_filepath4badips()
static get_filepath4badips |
( |
| ) |
|
|
static |
◆ get_filepath4bwlimit()
static get_filepath4bwlimit |
( |
| ) |
|
|
static |
◆ get_filepath4confighcache()
get_filepath4confighcache |
( |
| ) |
|
◆ get_filepath4group1ips()
static get_filepath4group1ips |
( |
| ) |
|
|
static |
◆ get_group1_ips()
get_group1_ips |
( |
|
$with_info = false | ) |
|
- Parameters
-
- Returns
- array|mixed
◆ get_ref_from_base64index()
& get_ref_from_base64index |
( |
& |
$current, |
|
|
|
$indexes |
|
) |
| |
◆ getConf()
◆ getDblayertrapDoubtfuls()
getDblayertrapDoubtfuls |
( |
| ) |
|
◆ getInstance()
◆ intval_allrequestsendid()
intval_allrequestsendid |
( |
| ) |
|
◆ ip_match()
◆ output_log()
output_log |
( |
|
$type = 'UNKNOWN' , |
|
|
|
$uid = 0 , |
|
|
|
$unique_check = false , |
|
|
|
$level = 1 |
|
) |
| |
- Parameters
-
string | $type | |
int | $uid | |
bool | $unique_check | |
int | $level | |
- Returns
- bool
◆ purge()
purge |
( |
|
$redirect_to_top = false | ) |
|
◆ purgeCookies()
◆ purgeNoExit()
◆ purgeSession()
◆ register_bad_ips()
register_bad_ips |
( |
|
$jailed_time = 0 , |
|
|
|
$ip = null |
|
) |
| |
- Parameters
-
int | $jailed_time | |
null | string | false | $ip | |
- Returns
- bool
◆ replace_doubtful()
replace_doubtful |
( |
|
$key, |
|
|
|
$val |
|
) |
| |
◆ setConn()
◆ spam_check()
spam_check |
( |
|
$points4deny, |
|
|
|
$uid |
|
) |
| |
◆ stopforumspam()
◆ stopForumSpamLookup()
stopForumSpamLookup |
( |
|
$email, |
|
|
|
$ip, |
|
|
|
$username |
|
) |
| |
◆ updateConfFromDb()
◆ write_file_badips()
write_file_badips |
( |
|
$bad_ips | ) |
|
◆ write_file_bwlimit()
write_file_bwlimit |
( |
|
$expire | ) |
|
◆ $_bad_globals
◆ $_bigumbrella_doubtfuls
$_bigumbrella_doubtfuls = array() |
◆ $_conf
◆ $_conf_serialized
◆ $_conn
◆ $_dblayertrap_doubtful_needles
$_dblayertrap_doubtful_needles |
Initial value:= array(
'information_schema',
'select',
"'",
'"')
◆ $_dblayertrap_doubtfuls
$_dblayertrap_doubtfuls = array() |
◆ $_done_badext
◆ $_done_contami
◆ $_done_dos
◆ $_done_dotdot
◆ $_done_intval
◆ $_done_isocom
◆ $_done_nullbyte
◆ $_done_union
◆ $_dos_stage
◆ $_doubtful_requests
$_doubtful_requests = array() |
◆ $_logged
◆ $_safe_badext
◆ $_safe_contami
◆ $_safe_isocom
◆ $_safe_union
◆ $_should_be_banned
$_should_be_banned = false |
◆ $_should_be_banned_time0
$_should_be_banned_time0 = false |
◆ $_spamcount_uri
◆ $error
◆ $ip_matched_info
◆ $last_error_type
$last_error_type = 'UNKNOWN' |
◆ $message
◆ $mydirname
◆ $warning
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/xoops_lib/modules/protector/class/protector.php