PcapViz ເປັນ Application ທີ່ໃຊ້ໃນການເຮັດ visualizes network ແລະ statistics ຈາກ pcap file ຊຶ່ງເຮັດໃຫ້ເຮົາເຫັນພາບການໃຊ້ງານທີ່ງ່າຍຂຶ້ນ ໂດຍເຮົາສາມາດຂຽນໄດ້ທັງ Layer 2,3,4
1. Download pcapviz
git clone https://github.com/mateuszk87/PcapViz
2. Install requirement package
apt-get install python3-dev libfreetype6-dev python3-cairocffi apt-get install graphviz libgraphviz-dev pkg-config pip3 install -r requirements.txt
3. Download Geo Location File
wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz mv GeoIP.dat ~/
git clone https://github.com/pygraphviz/pygraphviz.git cd pygraphviz python3 setup.py install
5. ເປີດໄຟລ໌ pcap ດ້ວຍ PcapViz ໂດຍການລະບຸ Layer ທີ່ຕ້ອງການ
python3 main.py -i <PCAP FILE> -o <OUTPUT Picture> --layer <Layer>
ເຊັ່ນ:
[code=php]python3 main.py -i test.pcap -o testlayer3 --layer3
[/code]
Image does not exist: https://www.techsuii.com/wp-content/uploads/2017/08/testlayer2.png
Image does not exist: https://www.techsuii.com/wp-content/uploads/2017/08/testlayer4.png
ຂໍ້ມູນຈາກ: techsuii ແລະ PcapViz