Giter Site home page Giter Site logo

sanix-darker / antiddos-system Goto Github PK

View Code? Open in Web Editor NEW
323.0 32.0 113.0 521 KB

๐Ÿ›ก๏ธโš”๏ธ Protect your web app from DDOS attack or the Dead Ping + CAPTCHA VERIFICATION in one line!

License: MIT License

PHP 97.95% CSS 2.05%
ddos ddos-attacks php hacking hack security security-tools protection web verification

antiddos-system's Introduction

THIS PROJECT IS DEPRECATED AND I DON'T MAINTAIN IT ANYMORE, PLEASE REFERS TO MODERNS SOLUTIONS INSTEAD

AntiDDOS-system

A simple way to protect your web application from DDOS attack(FREELY) in *1 line*.

How it work?

At each connection, the system temporarily saves the ip address of the client and monitors its connection frequency, if this connection frequency is abnormal, then the system considers it as a black ip address and sends a verification request in the form of a verification. Captcha integrated into the system, if he passes this check, then it is a human and not a robot!

Testing...

"This project has been tested by severals ddos software with a score of 77%."

How to use it?

Basic USAGE

<?php
	include ("anti_ddos/start.php"); //write this at the top of your PHP application and all is done!!!
?>
<!DOCTYPE html>
<html>
<head>
	<title>
		Example Web page protected!
	</title>
</head>
	<body>
		...
		<h2>Example Web page protected!</h2>
		...
	</body>
</html>

Advance USAGE:

<?php
	try{
		if (!file_exists('anti_ddos/start.php'))
			throw new Exception ('anti_ddos/start.php does not exist');
		else
			require_once('anti_ddos/start.php'); 
	} 
	//CATCH the exception if something goes wrong.
	catch (Exception $ex) {
		// et's print a message saying there is an error
		echo '<div style="padding:10px;color:white;position:fixed;top:0;left:0;width:100%;background:black;text-align:center;">The <a href="https://github.com/sanix-darker/antiddos-system" target="_blank">"AntiDDOS System"</a> failed to load properly on this Web Site, please de-comment the \'catch Exception\' to see what happening!</div>';
		//Print out the exception message.
		//echo $ex->getMessage();
	}
	// cp -r AntiDDOS-system/ /var/www/html/
?>
---- THE HTML PAGE CONTENT ----

Author

LICENSE

MIT License

PS: Send me some feedback to make this project more powerfull than ever! ;-)

antiddos-system's People

Contributors

saintly2k avatar sanix-darker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

antiddos-system's Issues

Cannot open file: anti_ddos/files/check.txt

Everything works great but it gives a 500 error when your reload it more than 5 times, and it doesn't give captcha it just says Undefined when you click a little box on one side of the screen.
SO
500 ERROR = 5 Continuous Reloads
Undefined = 2-3 reloads.

Detection not working

When I setup your system and try to do a little stress test, my IP may be added to black_ip.txt.
But unfortunately, nothing happens after that.

I cloned your entire repo and set the proper file permissions.

Any way to debug this?
Thanks in advance.

What if i use a VPN?

If i change ip adress after each connexion, i think that could crash this protection! Am i wrong?

I love this project!

I relay love this project Sanix darker, but idk, how do ypu integrate it on other platform? if i have a python project, how can i handle a DDOS attack with your ptroject!

check.txt error

Parse error: Invalid numeric literal in F:\Program Files\Ampps\www\anti_ddos\files\check.txt on line 1

into check.txt

When this error occurs, the site will no longer load and the program will crash completely

What should I do?

I spoke to soon...

Literally right after a long day of testing it...

"Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\anti_ddos\files\check.txt on line 1"

In the check.txt file it says:

< ?php $ad_num_query=1 ; $ad_sec_query=; ?>

Invalid numeric literal

Invalid numeric literal in C:\xampp\htdocs\test\anti_ddos\files\check.txt on line 1
How i can fix it ?

Invalid numeric literal

"Parse error: Invalid numeric literal in C:\xampp\htdocs\anti_ddos\files\check.txt on line 1"

Everything works fine until the number in the check.txt file goes to something like $ad_sec_query =09; and then the error happens. I noticed that this isn't a new issue and im not the first person to run into this, but it was never resolved.

I tested against DDOS and this work fantastically, but this issue stops the whole site from working.

Please fix or tell me a work around.

PHP 7.4.6 (Even though it probably doesn't matter.)

ad_sec_query - 500 Error

Hello,

It appears that after a certain amount of time, this value changes to a one digit number which causes a 500 error. For example, the value currently is:
image - Upon the value being this, it causes a 500 error. Any solutions or fixes? Thank you!

Kind Regards,
Jack

only white screen

I tested this on shared hosting but after the checking it only shows white screen and it doenst show my website

Warning "fopen" after showing DDOS protection verifiyer

Hi I'm receiving this error when trying to integrate your Anti DDOS tool to my php script after seeing the "Hi, dont worry, this is a simple security verfication, you will see this only one time;
your webpage will show up soon" the site then directs to this error, do you have any ideal how I can solve this please? --> "Warning: fopen(anti_ddos/files/check.txt): failed to open stream: No such file or directory in /home/admin/web/***/public_html/anti_ddos/start.php on line 35
Cannot open file: anti_ddos/files/check.txt"

check.txt

when:
<?php $ad_num_query=1 ; $ad_sec_query=; ?>
show:
Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\new1\anti_ddos\files\check.txt on line 1

using xampp v3.3.0

My site loads on some browsers but hangs on others..

The browsers it's currently hanging on and refreshing over and over again on the "Antiddos is checking..." screeen is Chrome, Firefox. But it works on Tor which is based off of firefox which is interesting. This is my first day using this application so if there is any debug you need please let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.