网络的掌控者-scapy 01

Posted mengchangxin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了网络的掌控者-scapy 01相关的知识,希望对你有一定的参考价值。

在Windows上,请打开命令提示符(cmd.exe)并确保您具有管理员权限:

C:>scapy
Welcome to Scapy (2.4.0)
>>>

如果您没有安装所有可选软件包,Scapy会通知您某些功能将不可用:

C:Windowssystem32>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            cyP////C   | Have fun!
              p///Ac            sC///a   |
              P////YCpc           A//A   | Craft packets before they craft
       scccccp///pSP///p          p//Y   | you.
      sY/////////y  caa           S//P   |                      -- Socrate
       cayCyayP//Ya              pY/Ya   |
        sY/PsY////YCc          aC//Yp
         sc  sccaCY//PCypaapyCP//YSs
                  spCPY//////YPSps
                       ccaacs

>>>

但是,发送和接收数据包的基本功能仍然有效。

 

以上是关于网络的掌控者-scapy 01的主要内容,如果未能解决你的问题,请参考以下文章

《Python黑帽子:黑客与渗透测试编程之道》读书笔记:scapy——网络的掌控者

Scapy BPF 过滤器不工作

PyCharm:Scapy 未解决的引用

时间的掌控者

Scapy 从入门到放弃

scapy.srp 不给所有客户