From 05fa5d4c6b24bc323717af06befbce758ea8b01d Mon Sep 17 00:00:00 2001 From: Scaratek <153395462+Scaratech@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:39:17 -0400 Subject: [PATCH 1/2] awesome API --- src/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.ts b/src/index.ts index 9d6b6f6..9fd1bbd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -114,6 +114,15 @@ app.get("/callback", async (c) => { return c.redirect("/flagged.html"); } + // :sob: + if ( + ipData.isp === 'netcup GmbH' || + ipData.org === 'netcup GmbH' + ) { + await logWebhook(client, id, "proxy"); + return c.redirect("/flagged.html"); + } + if (!mainId) await db.setData(id, ip); await grantRole(guild, id, memberRoles); await logWebhook(client, id, "passed"); From d93b081360c18e4904370091dee2e378f13dc2cf Mon Sep 17 00:00:00 2001 From: Scaratek <153395462+Scaratech@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:43:24 -0400 Subject: [PATCH 2/2] .. --- src/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/index.ts b/src/index.ts index 9fd1bbd..8276175 100644 --- a/src/index.ts +++ b/src/index.ts @@ -123,6 +123,14 @@ app.get("/callback", async (c) => { return c.redirect("/flagged.html"); } + if ( + ipData.isp === 'Crunchbits LLC' || + ipData.org === 'Crunchbits LLC' + ) { + await logWebhook(client, id, "proxy"); + return c.redirect("/flagged.html"); + } + if (!mainId) await db.setData(id, ip); await grantRole(guild, id, memberRoles); await logWebhook(client, id, "passed");