corrected and commented get attacker input script