Attacking the network via Rich Internet Applications