Challenge: Please break this! [Python Security]
Paul McNett
p at ulmcnett.com
Mon Feb 23 16:20:57 EST 2009
tav wrote:
> I'm keen to know your experiences even if you don't manage to write to
> the filesystem -- and especially if you do!
Does it count when it breaks some standard libs that aren't even trying to write to
the filesystem?
mac:ss pmcnett$ python sbs_studio.py pkm
Traceback (most recent call last):
File "sbs_studio.py", line 159, in <module>
main()
File "sbs_studio.py", line 15, in main
parser = OptionParser()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
1191, in __init__
self.set_usage(usage)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
1266, in set_usage
self.usage = _("%prog [options]")
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py",
line 566, in gettext
return dgettext(_current_domain, message)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py",
line 530, in dgettext
codeset=_localecodesets.get(domain))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py",
line 465, in translation
mofiles = find(domain, localedir, languages, all=1)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py",
line 437, in find
for nelang in _expand_lang(lang):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py",
line 131, in _expand_lang
from locale import normalize
ImportError: cannot import name normalize
Paul
More information about the Python-list
mailing list