Scapy.all import * does not work

后端 未结 5 1008
遥遥无期
遥遥无期 2021-01-11 11:10

So, I wrote a little script in Ubuntu for scapy.

#!/usr/bin/env python
import sys
#from scapy.all import *
try 
   import scapy
   except ImportError:
              


        
5条回答
  •  时光取名叫无心
    2021-01-11 11:35

    I saw this when I had a scapy.py in the current directory. scapy.all import * seems to look in the current directory first.

提交回复
热议问题