Jump to content

AntiBot - Captcha


xlr100

Recommended Posts

My server was bot attacked several times in a span of a few hours (because it was the top server), and Minehut's antibot plugins did nothing to prevent the bots from crashing the server.

With that said, i decided to create an antibot that will prevent such cases from repeating. Keep in mind that this script was created in a few minutes, and wasn't strictly tested so i can't grantee this will work against all kinds of bot attacks.

Features:

- Create a random Captcha per player, once he solved it he doesn't have to solve it again.

- Auto Kick after a minute if the Captcha isn't solved

- Creates another Captcha if the player joins again and he didn't complete the previous one 

- The player cant move or chat or type any command that doesn't contain "hub" or "server"

Note - This script doesn't offer any customization because it wasn't originally created for others, i will add customization if requested enough

Code:

https://pastebin.com/CSc4ZsRD

 

Link to comment
Share on other sites

Bad script and i just tested it with my self and bots can easily bypass this. Sorry but try like random characters with Caps, low caps with letters and numbers like this:

set {_e} to random 6 char string from charset `a-zA-Z0-9`

 

Start your Minecraft server today for as low as £0.50/weekly for up to 4 GB of RAM! (£3.50 Monthly) and be equipped for all situations with our high-performance gear keeping your servers running 24/7

Why choose Us?
• Guaranteed 99.9% Uptime
• NVMe RAID Fast Storage
• 24/7 Hosting
• Instant Setup
• 50% Discount. Use Code: 50OFF (Ends on November 11th)

We want to ensure our customers are happy with the service they received and support. We aim to provide low-costs those who cant afford a minecraft server. No extra costs, no setup fees! One-time payment and you are good to go with our instant setup feature we introduced to ensure your server is ready to go!

Planning to make a community or a project you want to work on? We got you covered! Our servers are optimized for performance and security, so you can have peace of mind and focus on your project. Our servers are also reliable and packed with features, so you can start playing right away.

We guarantee 99% uptime and 24/7 customer support, so you can always ask for help if you need it.

Links:
https://forums.valknet.org
https://billing.valknet.org
Invite: https://discord.gg/FqSRt4ZCAC

Link to comment
Share on other sites

Nice idea for shortening a few lines but like i said, i coded it in a few minutes in order to solve a specific type of bot attack my server suffered from, it's not guaranteed to work against any other kind of bot attack

  • Like 1
Link to comment
Share on other sites

10 minutes ago, OMan100 said:

Nice idea for shortening a few lines but like i said, i coded it in a few minutes in order to solve a specific type of bot attack my server suffered from, it's not guaranteed to work against any other kind of bot attack

It doesn't 100% block Bot Attacks and can easily be bypassed. But i hope for huge improvements with this project of yours ❤️

 

+rep

Start your Minecraft server today for as low as £0.50/weekly for up to 4 GB of RAM! (£3.50 Monthly) and be equipped for all situations with our high-performance gear keeping your servers running 24/7

Why choose Us?
• Guaranteed 99.9% Uptime
• NVMe RAID Fast Storage
• 24/7 Hosting
• Instant Setup
• 50% Discount. Use Code: 50OFF (Ends on November 11th)

We want to ensure our customers are happy with the service they received and support. We aim to provide low-costs those who cant afford a minecraft server. No extra costs, no setup fees! One-time payment and you are good to go with our instant setup feature we introduced to ensure your server is ready to go!

Planning to make a community or a project you want to work on? We got you covered! Our servers are optimized for performance and security, so you can have peace of mind and focus on your project. Our servers are also reliable and packed with features, so you can start playing right away.

We guarantee 99% uptime and 24/7 customer support, so you can always ask for help if you need it.

Links:
https://forums.valknet.org
https://billing.valknet.org
Invite: https://discord.gg/FqSRt4ZCAC

Link to comment
Share on other sites

  • 1 year later...

Requesting a lock, this post is 1 year old.

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...