griimnak
You're a slave to the money then you die
After a long period of brain storming, i've made my mind on what i'd like to do as my last habbo project. gHabbo was great and all, but i got bored of the php and wanted to try something different.
gHabbo is now continued as prj Trinity and i've already re-written everything (mostly) from gHabbo to Trinity in Python.
Objective of Trinity
To write a completely secure content management system for habbo emulation. However, instead of writing trinity in php, this cms will be written in python. Trinity should be as noob friendly as possible, lightweight, clean, and fully documented for any user that wishes to modify the code. While giving the user the option to manage trinity's code easily, Trinity should also provide easy content management through it's own admin panel. This will be my final habbo project.
Main Technologies
Thanks to @Sway for looking over the code, since he's been using python well over 5 years.
Be VERY carefull if you're using this for production, sanitize the form data correctly. I sanitized XSS, but never got around sanitizing SQL special characters.
------------------------------------------------------------------------------------
Modules
Trinity's Features
Screenshots
Trinity's WSGI server & console
gHabbo is now continued as prj Trinity and i've already re-written everything (mostly) from gHabbo to Trinity in Python.
To write a completely secure content management system for habbo emulation. However, instead of writing trinity in php, this cms will be written in python. Trinity should be as noob friendly as possible, lightweight, clean, and fully documented for any user that wishes to modify the code. While giving the user the option to manage trinity's code easily, Trinity should also provide easy content management through it's own admin panel. This will be my final habbo project.
Main Technologies
- Python 2.7 (General code base)
- Gevent WSGI (Server that allows python to create a live environment on the web)
- Flask Web(Python module)
(Everything below this section will be updated frequently)
Trinity has been released:
IMPORTANT
Okay, so here's trinity's bug log:Trinity has been released:
You must be registered for see links
IMPORTANT
Code:
- SQL queries are not sanitized, sql injection is a threat.
- Unnecessarily using the .get() method, inefficient way to check user sessions.
- Unnecessarily calling {{request.args.get('username')}} when i could easily use {{ username }}
Thanks to @Sway for looking over the code, since he's been using python well over 5 years.
Be VERY carefull if you're using this for production, sanitize the form data correctly. I sanitized XSS, but never got around sanitizing SQL special characters.
------------------------------------------------------------------------------------
Modules
- Passlib (Password hashing module for python)
- MySQLdb (Database driver module for python, Not third party)
- Flask Web (Web framework module for python)
- Jinja (Template module for python, Comes with Flask)
Trinity's Features
- Smart forms and error filtering
- Easy and clean templating
- Self installation
- User profiles
Screenshots
Trinity's WSGI server & console
more to come, stay tuned.
Last edited: