Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/killswitch-gui/flask_heroku_redirector
flask heroku C2 redirector template
https://github.com/killswitch-gui/flask_heroku_redirector
c2 flask python redirector
Last synced: about 2 months ago
JSON representation
flask heroku C2 redirector template
- Host: GitHub
- URL: https://github.com/killswitch-gui/flask_heroku_redirector
- Owner: killswitch-GUI
- License: gpl-3.0
- Created: 2017-03-05T20:02:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-20T02:56:21.000Z (about 7 years ago)
- Last Synced: 2024-02-08T00:12:10.327Z (5 months ago)
- Topics: c2, flask, python, redirector
- Language: Python
- Homepage: cybersyndicates.com
- Size: 24.4 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-rat - **8**星
- awesome-rat - **8**星
README
Flask Heroku C2 Sample
====================A simple Python Flask example application that's ready to run on Heroku.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
## Development Setup
* `virtualenv venv`
* `source venv/bin/activate`
* `pip install -r requirements.txt`
* `python app.py`
## Deploy
* `heroku create`
* `git push heroku master`
## Setup
set port to forward on (Defaults to 80):
* `heroku config:set PORT=80`set debug output to the log outlet (Defaults to True:
* `heroku config:set DEBUG=True`set forward C2 domain (Where to redirect to):
* `heroku config:set FORWARD_DOMAIN=cybersyndicates.com`set redirector domain (Incoming domain name):
* `heroku config:set CURRENT_DOMAIN=tranquil-dawn-50102.herokuapp.com`## Monitor
monitor the dyno:
* `heroku logs -t`