[Review-My-Code] Webserver with login 04-03-2018, 10:48 PM
#1
Hey there!
I was told that it was encouraged to share your creations here. I've done my fair share of attacking webservers, and I thought it was my time to try the opposite: creating and securing them. So here's a server I've whipped up over the past week. I've tried attacking it and can't find any vulnerabilities, and was wondering if any of you could. So try your hand at it :)
Pre-download notes:
You need to modify config.php. Don't forget to set up the database that it requires, or you can use the blank one provided. Remember to edit the path for main.db in config.php. Also, I was a bit confused during the period of time that I was developing the javascript for register.php. Although it might be a bit messy, I tried to clean it up afterwards and it's functional. Leave suggestions / comments if you wish :)
Download Link:
here
Virustotal:
here
End Notes:
If you have PHP installed, you can run this server by changing pwd to the location of the webserver, and running the following command:
That will open a PHP server on localhost port 8000. Just navigate to http://localhost:8000 on your browser. Have fun!
I was told that it was encouraged to share your creations here. I've done my fair share of attacking webservers, and I thought it was my time to try the opposite: creating and securing them. So here's a server I've whipped up over the past week. I've tried attacking it and can't find any vulnerabilities, and was wondering if any of you could. So try your hand at it :)
Pre-download notes:
You need to modify config.php. Don't forget to set up the database that it requires, or you can use the blank one provided. Remember to edit the path for main.db in config.php. Also, I was a bit confused during the period of time that I was developing the javascript for register.php. Although it might be a bit messy, I tried to clean it up afterwards and it's functional. Leave suggestions / comments if you wish :)
Download Link:
here
Virustotal:
here
End Notes:
If you have PHP installed, you can run this server by changing pwd to the location of the webserver, and running the following command:
Code:
php -S localhost:8000