These codes only work along with PyCharm.
Step 1: Install Pycharm from jetbrains.com/pycharm/download/
Step 2: Create new project.
Step 3: Create a new python file.
Step 4: Copy my code and paste in the python file.
These codes are to be used for educational purposes only and running these codes on unauthorised network can land you in prison.