Sandboxes

Leif K-Brooks eurleif at ecritters.biz
Tue Aug 23 04:55:40 CEST 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