在Windows上,请打开命令提示符(cmd.exe
)并确保您具有管理员权限:
- C:\>scapy
- Welcome to Scapy (2.4.0)
- >>>
如果您没有安装所有可选软件包,Scapy会通知您某些功能将不可用:
- C:\Windows\system32>scapy
- INFO: Can't import matplotlib. Won't be able to plot.
- INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
- WARNING: wpcap.dll is not installed. You won't be able to send/recieve packets. Visit the scapy's doc to install it
- WARNING: No default IPv4 routes found. Your Windows release may no be supported and you have to enter your routes manually
- WARNING: Error building scapy IPv6 routing table : name 'PCAP_ERRBUF_SIZE' is not defined
- INFO: No IPv6 support in kernel
- WARNING: No route found for IPv6 destination :: (no default route?)
- INFO: Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption. (Dot11)
- INFO: Can't import python-cryptography v1.7+. Disabled IPsec encryption/authentication.
- WARNING: IPython not available. Using standard Python shell instead.
- AutoCompletion, History are disabled.
- WARNING: IPyton not available. On Windows, colors are disabled
-
- aSPY//YASa
- apyyyyCY//YCa |
- sY//YSpcs scpCY//Pp | Welcome to Scapy
- ayp ayyyyyyySCP//Pp syY//C | Version 2.4.0
- AYAsAYYYYYYYY///Ps cY//S |
- pCCCCY//p cSSps y//Y | https://github.com/secdev/scapy
- SPPPP///a pP///AC//Y |
- A//A cyPC | Have fun!
- p///Ac sC///a |
- PYCpc A//A | Craft packets before they craft
- scccccp///pSP///p p//Y | you.
- sY/y caa S//P | -- Socrate
- cayCyayP//Ya pY/Ya |
- sY/PsYYCc aC//Yp
- sc sccaCY//PCypaapyCP//YSs
- spCPY//YPSps
- ccaacs
-
- >>>
但是,发送和接收数据包的基本功能仍然有效。