Giter Site home page Giter Site logo

ghostsite's Introduction

GhostSite

This PHP plugin lets You make a site (like admin panel etc) visible only for You or people You choose

What is GhostSite for

GhostSite send to the client error header so the client can't access website. It can be very helpful with:

Hacking scanners

some of the User-Agents of website vulnerability scanners used by hackers are know publicly. You can just block it on Your website and send an error 404 header so the scanner will be looking further. It lets You also hide Admin Panel from all of the internet users without IP that You want.

Hackers

same as with hacking scanners but vulnerability scanners user-agents don't block browsers, so manual attempts sould be also blocked, thats why You can allow only authorized IP/UA

Privacy on internet

we all know that some of websites are made only for few of "the chosen ones" ;) if You make a login system it might get hacked, so hiding the website is a good complement

How to use GhostSite

GhostSite is a clear PHP plugin so You dont need to install any frameworks.

Main

above the HTML header of the site that has to be ghosted add this as PHP code : ... require_once "path_of_the_GhostSite_plugin/GhostSite/func.php" ... ... function_You_want_to_use("variables depending of function"); ...

What You have to do in "function_You_want_to_use("variables depending of function");" is explained below.

Each function usage

Manual IP Authorization

ManualIPAuth($AuthorizedIP,$error);

This function allows access only to the IP set in $AuthorizedIP variable, if the user that is trying to connect with this site he will see error set in the $error variable.

example ...

//if Your ip is 129.109.48.72, set this code: ManualIPAuth("129.109.48.72",404); //and if someone with IP else than 129.109.48.72 will get error 404 page not found. ...

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.