Exploring and Making Safe Dangerous Networks using Mobile Entities