Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Heroku for web based examples? #7

Closed
dufferzafar opened this issue Apr 4, 2014 · 5 comments
Closed

Use Heroku for web based examples? #7

dufferzafar opened this issue Apr 4, 2014 · 5 comments

Comments

@dufferzafar
Copy link
Contributor

Saw that you have mentioned the need of a webserver for web based levels.

We could write examples and push them to Heroku?

Check out - Backdoor CTF's Web 250. It's source code is here

@cabreraalex
Copy link
Member

Yeah that would actually be the best way to host the web challenges. The only thing I was wondering was how to host different technologies, say a PHP task vs a Django task

@dufferzafar
Copy link
Contributor Author

I don't exactly get what you are trying to say. But Heroku offers many stacks - PHP, Node, Python. Though I have never given them a try,

@cabreraalex
Copy link
Member

Sorry, I'll try to clarify: If we set up a website for this repository on Heroku, we would have to base it off of a certain technology, say a Django powered website. Once we have it running off of Django, I'm not sure how we would go around hosting a PHP challenge without faking the vulnerability.

It might be possible to run multiple technologies (PHP, Ruby, and Python for example) off of one site, but I would have to do some considerable research into that. For now I might just set up a simple heroku PHP powered site, as many of the web challenges are based off of PHP and SQL database back ends.

@dufferzafar
Copy link
Contributor Author

If multiple stacks are a problem, why don't we setup multiple repositories (on heroku). Something like ctf-example-1.herokuapp.com for our first web example and so on.

@cabreraalex
Copy link
Member

Ah very true, did not even think of that. We could just set up a seperate stack for each tech, one running off of PHP, another off of Ruby on Rails, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants