Decoy is a reverse-proxy written in python and ready to deploy on Google App Engine platform. It can be configured to serve a specific website through App Engine.
The main advantage Decoy provides is the ability to serve the configured website through GAE platform - Google App Engine, using a sub-domain under *.appspot.com
.
Decoy will proxy all URLs which contains the configured domain in config.py
file automatically, any other URL will be opened normally without proxy.
-
Clone the project
git clone https://github.com/icaruslab/decoy.git
-
Create an account on Google Cloud Platform
-
After accessing Google Cloud Console create a new project
The project name should be unique, if that's the case the project ID will be the same, other wise it will be assigned a random name. The project ID will be used to access your mirror, final URL will be
[ProjectID.appspot.com]
- Install Google Cloud SDK
- Replace the
url
variable inconfig.py
with your website domain name - Use your terminal to go the project's directory
- Run
gcloud init
to configure GCloud SDK and login to your account. - Select the project you created earlier using
gcloud config set project [ProjectID]
- Run
gcloud app deploy
and follow the instructions to deploy the app
- Finally you can confirm your mirror is running by visiting
[youprojectname].appspot.com
The main advantage of having the mirror traffic routed through GAE, is the ability to use a sub-domain under appspot.com
to access the mirror.
As the same domain is associated with many other Google cloud services it'd be difficult to block it entirely.
However, it's possible to block the sub-domain without having to block the entire domain name, in which case you'll be able to get a new mirror up and running in less than two minutes by simply creating a new project with a different name and ID and repeating steps 8:10
This project was inspired and built on mirrorrr project.
This project and all Icarus Project’s related code and guides are developed for the sole purpose of Internet censorship circumvention, more specifically in human rights and independent media context.
Icarus Project is not responsible for any abuse and/or malicious use of any of its published research results.
- Rewrite in Python3