Small updates
This commit is contained in:
@@ -123,6 +123,7 @@
|
||||
&.cap_H::before { background-position-y: -80px }
|
||||
&.cap_X::before { background-position-y: -100px }
|
||||
&.cap_YH::before { background-position-y: -120px }
|
||||
&.cap_YNH::before { background-position-y: -140px }
|
||||
|
||||
/* Country flags */
|
||||
/* Note: flag images and CSS adapted from: https://github.com/lafeber/world-flags-sprite/ */
|
||||
|
||||
12
admin.js
12
admin.js
@@ -730,7 +730,11 @@ BotMon.live = {
|
||||
} else if (v._type == BM_USERTYPE.LIKELY_BOT) { /* probable bots only */
|
||||
|
||||
// add bot views to IP range information:
|
||||
me.addToIpRanges(v);
|
||||
if (v.ip) {
|
||||
me.addToIpRanges(v);
|
||||
} else {
|
||||
console.log(v);
|
||||
}
|
||||
|
||||
} else { /* registered users and probable humans */
|
||||
|
||||
@@ -1864,8 +1868,12 @@ BotMon.live = {
|
||||
}
|
||||
|
||||
logtxt.split('\n').forEach((line) => {
|
||||
if (line.trim() === '') return; // skip empty lines
|
||||
|
||||
const line2 = line.replaceAll(new RegExp('[\x00-\x1F]','g'), "\u{FFFD}").trim();
|
||||
if (line2 === '') return; // skip empty lines
|
||||
|
||||
const cols = line.split('\t');
|
||||
if (cols.length == 1) return
|
||||
|
||||
// assign the columns to an object:
|
||||
const data = {};
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
{"id": "cloudflare", "name": "Cloudflare Network"},
|
||||
{"id": "cnisp", "name": "China ISP Range"},
|
||||
{"id": "cnmob", "name": "China Mobile"},
|
||||
{"id": "domtehniki", "name": "Dom Tehniki / WS Telecom"},
|
||||
{"id": "google", "name": "Google LLC Network"},
|
||||
{"id": "hetzner", "name": "Hetzner US"},
|
||||
{"id": "huawei", "name": "Huawei Network"},
|
||||
@@ -72,6 +73,7 @@
|
||||
{"from": "138.121.0.0", "to": "138.121.225.254", "m": 16, "g": "misc_sa"},
|
||||
{"from": "142.147.128.0", "to": "1142.147.255.254", "m": 17, "g": "w2obj"},
|
||||
{"from": "146.174.128.0", "to": "146.174.191.254", "m": 18, "g": "huawei"},
|
||||
{"from": "149.126.192.0", "to": "149.126.223.255", "m": 19, "g": "domtehniki"},
|
||||
{"from": "149.232.128.0", "to": "149.232.159.254", "m": 19, "g": "huawei"},
|
||||
{"from": "150.40.128.0", "to": "150.40.255.254", "m": 17, "g": "huawei"},
|
||||
{"from": "159.138.0.0", "to": "159.138.225.254", "m": 16, "g": "huawei"},
|
||||
|
||||
BIN
img/captcha.png
BIN
img/captcha.png
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.0 KiB |
Reference in New Issue
Block a user