fixed syntax error in two scripts

was just missing some bash expansions and double quotes
in get attacker input and submit calc scripts