Search code examples
python-3.xipythonsudoscapy

How to enable syntax prompts and highlighting in the Scapy interpreter without using sudo privileges during startup?


I'm looking for a solution to enable syntax prompts and highlighting in the scapy shell without use sudo privileges.

Scapy runed with sudo: Scapy runed with sudo

Scapy runed without sudo: Scapy runed without sudo


Solution

  • You most likely have different python setup for sudo and non sudo.

    A good option would be to use

    sudo python -m pip install ipython
    

    So that you are sure the sudo setup installs it