Marsの5εcur1ty備忘録

不定期的にCTF、脆弱性検証、バグバウンティレポート分析など、情報セキュリティを中心とした技術ブログを更新します。

How to install GNS3 and capture packets?

Index

  1. Installation
  2. Capture packets

Installation:

www.youtube.com

Capture packets:

We first need to configure IP addresses.
(e.g.
PC1: $ ip 10.1.1.1 255.255.255.0
PC2: $ ip 10.1.1.2 255.255.255.0
//restart GNS3
)

Step 1:

  • Right click the link that we want to capture.
    f:id:z773733850:20191120193117p:plain
  • Click 'start capture' and click 'ok'.

Check out if there are some error messages.
In my case, I got some error messages.
f:id:z773733850:20191120193349p:plain

This error message indicates that the path of Wireshark is unknown.
Thus, just modify the path of Wireshark to the true one.
f:id:z773733850:20191120193759p:plain

Click 'Edit' on the menu bar and click 'preference', then go to 'Packet Capture'.
f:id:z773733850:20191120193922p:plain

The default path of wireshark is 'C:\Program Files\Wireshark\wireshark.exe', I just changed it to the following stuff.

E:\InfosecTools\Network\Wireshark\Wireshark.exe

Then, click 'Apply' and 'OK'.
Fixed.
f:id:z773733850:20191120194431p:plain

Try to send ICMP packet...
f:id:z773733850:20191120194604p:plain
Notice I'm capturing packets between PC1 and Switch, so I sent ICMP packets from PC1 to PC2.
f:id:z773733850:20191120194734p:plain
Successful!

Copyright Mars 2019