Compare commits
11 Commits
9a024c5c88
...
feature/ma
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63d289b6a9 | ||
|
|
6920c10d2d | ||
|
|
c477afabb0 | ||
|
|
ea745b5dbb | ||
| 1184d1415a | |||
| 2030fbce57 | |||
|
|
5f3879e48c | ||
|
|
051747f114 | ||
|
|
0a96927e50 | ||
|
|
57f254ea39 | ||
|
|
05903ce02d |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
/secret.php
|
/secret.php
|
||||||
/config.php
|
/config.php
|
||||||
/test.php
|
/test.php
|
||||||
|
/_secret.php
|
||||||
|
|||||||
@@ -1,14 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
$_ips_crawler = array (
|
$_ips_crawler = array (
|
||||||
'40.77.167.56 ', // bing bot
|
'40.77.167.', // bing bot
|
||||||
'66.249.',
|
'66.249.',
|
||||||
'62.138.',
|
'62.138.',
|
||||||
'62.210.149.60',
|
'62.210.149.60',
|
||||||
'92.118.160.37', // netsystem research bot
|
'92.118.160.37', // netsystem research bot
|
||||||
'104.155.85.84',
|
'104.155.85.', // google
|
||||||
'114.119.1', // petalbot
|
'114.119.1', // petalbot
|
||||||
'185.191.171.6', // semrush bot
|
'185.191.171.', // semrush bot
|
||||||
'207.46.13.124', // bing bot
|
'207.46.13.124', // bing bot
|
||||||
'54.36.148.' //ahrefbot
|
'54.36.148.', // ahrefbot
|
||||||
|
'216.244.66.196', // opensiteexplorer
|
||||||
|
'65.21.180.26', // seekport
|
||||||
|
'81.209.177.145', // website-datenbank.de
|
||||||
|
'2a01:4f8:190:4244::2' // mj12bot
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
@@ -258,8 +258,8 @@ function onlySimpleHTML($s) {
|
|||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
function linkify($input) {
|
function linkify($input) {
|
||||||
$pattern = '@(http(s)?://)?(([a-zA-Z])([-\w]+\.)+([^\s\.]+[^\s]*)+[^,.\s])@';
|
$pattern = '@(http(s)?://[a-zA-Z0-9/\.\#\-\_]*)@';
|
||||||
return $output = preg_replace ( $pattern, '<a href="http$2://$3">$0</a>', $input );
|
return $output = preg_replace ( $pattern, '<a href="$1">$1</a>', $input );
|
||||||
}
|
}
|
||||||
function inStr($needle, $haystack) {
|
function inStr($needle, $haystack) {
|
||||||
if (strpos ( $haystack, $needle ) !== false) {
|
if (strpos ( $haystack, $needle ) !== false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user