Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 116) sorted by relevance

12345

/plugin/iptrust2/
H A Dadmin.php31 $ip = long2ip(ip2long($_REQUEST['ip']));
34 if (in_array($ip."\n", $ips)) {
49 (ip2long($ip) !== false)) {
50 $ip = long2ip(ip2long($ip));
70 (ip2long($ip) !== false)) {
71 $ip = long2ip(ip2long($ip));
73 if (in_array($ip."\n", $ips)) {
112 foreach ($ips as $ip) {
113 $ip = rtrim($ip);
115 ptln("<td>".rtrim($ip)."</td>");
[all …]
H A Daction.php32 $ip = clientIP(true);
34 if (!$ips || !in_array($ip."\n", $ips)) {
42 $ip = clientIP(true);
44 if (!$ips || !in_array($ip."\n", $ips)) {
47 if (strpos($ip, $net) === 0) {
53 if ($ip == $host) {
60 $logins[$i] = $_SERVER['REMOTE_USER']."\t".$ip."\t".time()."\n";
/plugin/iptrust/
H A Dadmin.php43 $ip = long2ip(ip2long($_REQUEST['ip']));
46 if (in_array($ip."\n", $ips)) {
61 (ip2long($ip) !== false)) {
62 $ip = long2ip(ip2long($ip));
82 (ip2long($ip) !== false)) {
83 $ip = long2ip(ip2long($ip));
85 if (in_array($ip."\n", $ips)) {
124 foreach ($ips as $ip) {
125 $ip = rtrim($ip);
127 ptln("<td>".rtrim($ip)."</td>");
[all …]
H A Daction.php43 $ip = clientIP(true);
45 if (!$ips || !in_array($ip."\n", $ips)) {
53 $ip = clientIP(true);
55 if (!$ips || !in_array($ip."\n", $ips)) {
58 if (strpos($ip, $net) === 0) {
64 if ($ip == $host) {
71 $logins[$i] = $_SERVER['REMOTE_USER']."\t".$ip."\t".time()."\n";
/plugin/quickstats/db/
H A DdataBaseStructure.txt1 ip.ser
32 [ip] => Array
46 [ip] => Array
67 [<ip] => <n>
84 [<ip>] => <n>
85 [<ip] => <n>
103 ip,
104 ip . . .
109 [ip] => Array
114 [ip] => Array
[all …]
/plugin/abc2/abc-libraries/abc2svg/
H A Dsnd-1.js486 …hunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip++],data[ip++],data[ip++])…
489 …hunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip++],data[ip++],data[ip++])…
491 …hunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip++],data[ip++],data[ip++])…
494 …hunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip++],data[ip++],data[ip++])…
497ip<size){presetHeader.push({presetName:String.fromCharCode.apply(null,data.subarray(ip,ip+=20)),pr…
505ip<size){sampleName=String.fromCharCode.apply(null,data.subarray(ip,ip+=20));start=(data[ip++]<<0)…
508ip=chunk.offset,size=chunk.offset+chunk.size,code,key,output=[];while(ip<size){ip+=2;code=data[ip+…
509 ip+=2;ip+=2}
510ip=chunk.offset,size=chunk.offset+chunk.size,code,key,output=[];while(ip<size){code=data[ip++]|(da…
518ip=this.ip,size;this.chunkList.push(new sf2.Riff.Chunk(String.fromCharCode(input[ip++],input[ip++]…
[all …]
/plugin/tokenbucketauth/
H A Dadmin.php52 $ip = array_shift(array_keys($_REQUEST['delip']));
91 if(isset($blocked[$ip]))
94 unset($blocked[$ip]);
112 if(isset($users_tracker[$ip]))
113 unset($users_tracker[$ip]);
151 foreach($bans as $ip => $block_timestamp)
156 $new_bans[$ip] = $block_timestamp;
174 foreach($bans as $ip => $block_timestamp)
176 $host = @gethostbyaddr($ip);
177 if($host === false || $host === $ip)
[all …]
H A Daction.php92 $ip = $_SERVER['REMOTE_ADDR'];
103 if(array_key_exists($ip, $this->blocked))
108 $this->_do_disable_login($ip, $this->blocked[$ip]);
115 unset($this->blocked[$ip]);
119 $ts = $this->users_tracker[$ip];
146 $this->users_tracker[$ip] = $ts;
161 if(array_key_exists($ip, $this->blocked))
162 $this->_do_disable_login($ip, $this->blocked[$ip], true);
177 $ip = $_SERVER['REMOTE_ADDR'];
181 if(empty($this->users_tracker[$ip]))
[all …]
/plugin/badbehaviour/bad-behavior/
H A Dblackhole.inc.php35 $ip = $package['ip'];
36 $find = implode('.', array_reverse(explode('.', $ip)));
62 $ip = explode('.', $result[0]);
64 …if ($ip[0] == 127 && ($ip[3] & 7) && $ip[2] >= $settings['httpbl_threat'] && $ip[1] <= $settings['…
68 if ($ip[3] == 0) {
/plugin/stopforumspam2/
H A Dhelper.php23 function rawdata($ip = null, $email = null, $username = null, $wildcards = null){ argument
25 if ($ip == null and $email == null and $username == null) return array();
30 'ip' => $ip,
76 …if (isset($resultarray['ip']['frequency'])) $ipfreq = $resultarray['ip']['frequency']; else $ipfre…
79 …if (isset($resultarray['ip']['confidence'])) $ipconf = $resultarray['ip']['confidence']; else $ipc…
83 … if ($returnvalue) return array('ip' => $ipfreq, 'email' => $emailfreq, 'username' => $namefreq);
124 …if (isset($resultarray['ip']['confidence'])) $ipconf = $resultarray['ip']['confidence']; else $ipc…
127 …if (isset($resultarray['ip']['frequency'])) $ipfreq = $resultarray['ip']['frequency']; else $ipfre…
212 * @param string $ip
217 function whitelists ($ip = null, $email = null, $username = null) { argument
[all …]
/plugin/abortlogin/
H A Daction.php24 $ip = $_SERVER['REMOTE_ADDR'];
29 …sabled file from the plugin directory when you are finished setting up. Your current IP is $ip",2);
49 …&& empty($_REQUEST['http_credentials']) && !empty($USERINFO) && !$this->is_allowed($allowed, $ip)){
66 if($ACT == 'login' && !$this->is_allowed($allowed, $ip)) {
68 $this->log($ip);
76 function is_allowed($allowed, $ip) { argument
90 if( preg_match("/" . $allowed . "/", $ip) ) {
96 function log($ip) { argument
98 io_saveFile($log,"$ip\n",1);
/plugin/yourip/
H A Dsyntax.php54 $ip = getenv ("REMOTE_ADDR");
56 if (substr_count($ip,":") > 1 && substr_count($ip,".") == 0)
66 $text .= "You've got IPv6! <br/>IPv6 connection from $ip";
68 $text .= "You use old fashioned IPv4<br/>IPv4 connection from $ip";
77 $text .= "IPv6 connection from $ip";
79 $text .= "IPv4 connection from $ip";
87 $text .= "$ip" ;
/plugin/quickstats/scripts/
H A Dextended_data.php86 function ip_data($ip=false,$p_brief=false) { argument
90 if($ip === false) $ip =rawurldecode($_POST['ip']);
94 $result = ip_row(array('ip','ua'), $ip,$date);
128 function qs_data(&$ar,$ip) { argument
134 if(isset($data[$ip])) {
302 foreach($ar['ips'] as $ip) {
320 foreach($ar['ips'] as $ip) {
386 foreach($ua_data as $ip=>$ar) {
415 foreach($agents as $ip) {
448 foreach($agents as $ip => $val)
[all …]
/plugin/quickstats/
H A Daction.php61 $ipv6 = isValidIPv6($ip);
66 else $this->ipaddr = $ip;
115 $record = $reader->city($ip);
345 if(preg_match($regex,$ip)){
354 $ip = $_SERVER['REMOTE_ADDR'];
443 $this->ips[$ip] = 0;
447 $this->ips[$ip] += 1;
467 if(!isset($this->ua[$ip])) {
482 if(!isset($this->pusers[$ip])) {
538 function get_country($ip=null) { argument
[all …]
/plugin/stopforumspam/
H A DResponseChecker.php25 public $ip; variable in Response
27 public function __construct($username = null, $email = null, $ip = null) argument
35 if ($ip == null) {
36 $ip = new ResponseCategory();
41 $this->ip = $ip;
57 $this->ip = $this->ResponseCategoryFromAssoc($response['ip']);
116 } else if (($result = $this->categoryIsValid($response->ip)) === false) {
H A Daction.php40 private function do_check($username, $email, $ip) argument
43 urlencode($email), urlencode($username), urlencode($ip));
55 $ip = $_SERVER['REMOTE_ADDR'];
56 $response = $this->do_check($username, $email, $ip);
62 $this->logger->LogAttempt($username, $email, $ip, $this->checker->trigger,
/plugin/quickstats/scripts/php-inet6_1.0.2/
H A Dvalid_v6.php15 * @param string $ip
18 function isValidIPv6($ip) argument
20 if ( false === filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) )
24 return inet6_compress($ip);
/plugin/authucenter/lib/uc_client/model/
H A Dmisc.php52 function test_api($url, $ip = '') { argument
55 …function dfopen2($url, $limit = 0, $post = '', $cookie = '', $bysocket = FALSE, $ip = '', $timeout… argument
61 return $this->dfopen($url, $limit, $post, $cookie, $bysocket, $ip, $timeout, $block, $encodetype);
64 …function dfopen($url, $limit = 0, $post = '', $cookie = '', $bysocket = FALSE , $ip = '', $timeout… argument
97 if(!$fp = @fsocketopen(($ip ? $ip : $host), $port, $errno, $errstr, $timeout)) {
107 $fp = @fopen($scheme.'://'.($ip ? $ip : $host).':'.$port.$path, 'b', false, $context);
H A Ddomain.php26 function add_domain($domain, $ip) { argument
28 $this->db->query("INSERT INTO ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip'");
50 function update_domain($domain, $ip, $id) { argument
51 $this->db->query("UPDATE ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip' WHERE id='$id'");
H A Duser.php231 function can_do_login($username, $ip = '') { argument
237 if(!$ip) {
238 $ip = $this->base->onlineip;
242 …$query = $this->db->query("SELECT * FROM ".UC_DBTABLEPRE."failedlogins WHERE ip='".$ip."' OR ip='$…
246 } elseif($row['ip'] === $ip) {
253 …LACE INTO ".UC_DBTABLEPRE."failedlogins (ip, count, lastupdate) VALUES ('{$ip}', '0', '{$this->bas…
272 function loginfailed($username, $ip = '') { argument
274 if(!$ip) {
275 $ip = $this->base->onlineip;
277 …dlogins SET count=count+1, lastupdate='".$this->base->time."' WHERE ip='".$ip."' OR ip='$username'…
/plugin/snmplive/
H A Dscript.js10 function plugin_snmplive(ip,oid){ argument
11 var snmpId = ip + oid;
36 window.setTimeout("plugin_snmplive('"+ip+"','"+oid+"')",1000);
39 ajax.runAJAX('SNMPip='+encodeURI(ip)+'&SNMPoid='+encodeURI(oid));
/plugin/statistics/
H A Ddb.sql6 `ip` VARCHAR(15)
43 `ip` VARCHAR(15)
54 PRIMARY KEY (`ip`),
155 `ip` VARCHAR(40) NOT NULL,
166 ALTER TABLE `stats_access` CHANGE `ip` `ip` VARCHAR(40);
184 `ip` VARCHAR(40) NOT NULL,
218 `ip` VARCHAR(40) DEFAULT NULL,
/plugin/ipmap/
H A Drendertables.php35 list($ip, $net,$subnet) = preg_split("/\//u", substr($match, 7, -1), 3);
36 return array($state, array($ip, $net, $subnet,strip_tags($match)));
48 list($ip, $net, $subnet,$data) = $match;
50 …$renderer->doc .= p_render('xhtml',p_get_instructions($this->_maketables($ip, $net, $subnet, $data…
59 function _maketables($ip, $net, $subnet, $data){ argument
99 $dip = ip2long($ip);
/plugin/ipban/
H A Dadmin.php28 $ip = trim($INPUT->str('ip'));
29 if ($ip) {
31 $range = \IPLib\Factory::rangeFromString($ip);
35 $newban = $ip . "\t" . time() . "\t" . $INPUT->server->str('REMOTE_USER');
/plugin/ipban/_test/
H A Dcheck.test.php43 * @param string $ip
47 public function test_banning($ip, $result) argument
53 (bool) $this->callInaccessibleMethod($action,'isBanned', [$ip, $this->banconfig])

12345