Sandboxes

Leif K-Brooks eurleif at ecritters.biz
Mon Aug 22 22:55:40 EDT 2005


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()



More information about the Python-list mailing list