天天看點

python scapy 網絡包管理工具--進階篇

寫在前面

需要我們進一步學習了解,必須檢視文檔和源碼

scapy github — https://github.com/secdev/scapy

scapy 文檔 — http://scapy.readthedocs.io/en/latest/

scapy-http github — https://github.com/invernizzi/scapy-http

scapy3k(python3版本) — https://github.com/phaethon/scapy

說實在的,這個scapy的文檔是很難啃的,因為網絡協定上有太多的裝有名詞,并且如果對網絡協定了解不夠,很難了解他在說什麼。

在py檔案中使用

運作模式

你可以直接在指令行敲 scapy 進入互動模式

可以采用在py檔案中運作。

互動模式