modify flash and protect script attack