Skip to content

wwwqr-000/Whiteavocado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  • Whitelist for allowed routes
  • Extreme lightweight (~200K)
  • More secure than apache2 or nginx
  • Customizable
  • Modefy the source code
  • Low level PHP support
  • C++ support
  • Python support
  • Slow logging
  • This is a Beta version
  • How to install

    apt-get update; apt-get install git; apt-get install g++; git clone https://github.com/wwwqr-000/Whiteavocado.git /Whiteavocado; cd /Whiteavocado/whiteavocado-web-server; chmod 0777 setup.sh; ./setup.sh; rm setup.sh

    Start service

    systemctl start white-web

    Show service status

    systemctl status white-web

    Stop service

    systemctl stop white-web

    Info

    General

    The whiteavocado web server is still in early beta.
    Look in the log file to see errors and access changes.
    You can fully customize the whiteavocado web server and can even change the source code.
    The web server can only run HTTP at the moment. I also hope to change this in the future.
    Look in the main.cpp file and /classes folder to change the source code. It can take up to 2 minutes to close a socket. So if you restarting, it can take a while.

    Tip: To see all your open ports run the following command:

    lsof -P -i

    Security

    The whiteavocado web server is more secure compared to other web servers.
    It has a whitelist file that only allows clients to visit the paths that are included within. So any other path will return a not found.
    As for now, all error messages will be 200 OK. To confuse the potential hacker.

    Tested on

    Whiteavocado is tested on the following linux distro:

    NAME="Ubuntu"
    VERSION="20.04.6 LTS (Focal Fossa)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 20.04.6 LTS"
    VERSION_ID="20.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=focal
    UBUNTU_CODENAME=focal