GWTMap: map the attack surface of Google Web Toolkit based applications