run python file in terminal kali code example Example: create python file kali linux sudo nano test.py then, paste the exploit and save it