- Using gedit create a python file named as exploit
- copy code from the above file (exploit.py)
- After creating the file we will provide our script with the required permission to execute the code
- Using the following command :- ( $ chmod +x exploit.py )
- Now execute the script