42 wrote:
> FWIW I've already given up on making python secure. I agree that odds 
> are extremely high that I've missed something. I'm just curious to see 
> what one of the holes I left is, preferably without wading through 
> hundreds of pages :)

f = [x for x in [].__class__.__bases__[0].__subclasses__() if
x.__name__=='file'][0]
f('/path/to/important/file', 'w').close()
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to