Update HackTheBox and Wikipedia to use new API endpoints (#2470)

* Initial plan

* Update HackTheBox and Wikipedia to use new API endpoints for username checking

Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/6dc9147c-787f-4f4f-8903-7b9873ac6ac9

Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com>
This commit is contained in:
Copilot
2026-04-08 10:23:07 +02:00
committed by GitHub
parent 9bad5d8269
commit fbb8255518
+23 -10
View File
@@ -225,19 +225,21 @@
"usernameUnclaimed": "noonewouldeverusethis7" "usernameUnclaimed": "noonewouldeverusethis7"
}, },
"Wikipedia": { "Wikipedia": {
"disabled": true,
"tags": [ "tags": [
"wiki" "wiki"
], ],
"checkType": "message", "checkType": "message",
"urlProbe": "https://en.wikipedia.org/w/api.php?action=query&format=json&list=users&ususers={username}&usprop=cancreate&formatversion=2",
"presenseStrs": [
"\"userid\""
],
"absenceStrs": [ "absenceStrs": [
"is not registered", "\"missing\""
"Wikipedia does not have a"
], ],
"alexaRank": 15, "alexaRank": 15,
"urlMain": "https://en.wikipedia.org/", "urlMain": "https://en.wikipedia.org/",
"url": "https://en.wikipedia.org/wiki/User:{username}", "url": "https://en.wikipedia.org/wiki/User:{username}",
"usernameClaimed": "Hoadlck", "usernameClaimed": "Jimbo_Wales",
"usernameUnclaimed": "noonewouldeverusethis7" "usernameUnclaimed": "noonewouldeverusethis7"
}, },
"Google Maps": { "Google Maps": {
@@ -15999,13 +16001,24 @@
}, },
"HackTheBox": { "HackTheBox": {
"tags": [ "tags": [
"forum" "hacking"
], ],
"checkType": "status_code", "checkType": "message",
"urlMain": "https://forum.hackthebox.eu/", "urlMain": "https://www.hackthebox.com/",
"url": "https://forum.hackthebox.eu/profile/{username}", "url": "https://www.hackthebox.com/",
"usernameClaimed": "angar", "urlProbe": "https://www.hackthebox.com/api/v4/register/check",
"usernameUnclaimed": "noonewouldeverusethis" "requestMethod": "POST",
"requestPayload": {
"username": "{username}"
},
"headers": {
"Content-Type": "application/json"
},
"presenseStrs": [
"already been taken"
],
"usernameClaimed": "admin",
"usernameUnclaimed": "noonewouldeverusethis7"
}, },
"7dach": { "7dach": {
"tags": [ "tags": [