in reply to issue with the global variable.
You might consider do as a shortcut for the open, readline, and eval that you're using. It will do all of that for you. :-)
Update: Er, yeah, as rodion pointed out (Re: issue with the global variable.), the name and content of your @attack_client_info variable is rather suspicious.
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (109 votes). Check out past polls.