본문으로 바로가기

파이썬 scapy 에러 - winpcap

category Errors 2020. 7. 14. 09:42

에러

RuntimeError: Sniffing and sending packets is not available at layer 2: winpcap is not installed. 

You may use conf.L3socket orconf.L3socket6 to access layer 3

 

scapy 모듈 사용시 winpcap이 설치되있지 않아 발생하는 에러입니다.

 

해결방법

WinPcap 을 설치합니다.

 

WinPcap · Download

WinPcap Has Ceased Development The WinPcap project has ceased development and WinPcap and WinDump are no longer maintained. We recommend using Npcap instead. If you do insist upon using WinPcap, be aware that its installer was built with an old version of

www.winpcap.org