Re: convert a string to tuple
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: convert a string to tuple

From: Peter Hansen <peter@engcorp.com>
Date: Tue May 31 2005 - 23:55:38 CEST

Steven Bethard wrote:
> Just be sure you know where your strings come from. You wouldn't want
> someone to pass you
> """__import__('os').system('rm -rf /')"""
> and then send that to eval. =)

Why not, Steven? I just tried it and my compu
Received on Thu Sep 29 16:17:27 2005