The first objective is based on Ethical Hacking Demonstration in which Local server was programmed with Python in Kali Linux to respond to anyURL from the IoT device, and it responds the same way ThingSpeck.com responds when DNS spoofing is applied. The second objective simulates Fault detection in Electrical network model. In this an electric network model is designed and simulated with some predefined constraints on its parameters such as voltage, frequency, etc.