Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Getting different IP addresses in scapy

from scapy.all import *
sniffdata = sniff(count=10)
sniffdata.summary()

Output:

Ether / IP / TCP 192.168.1.35:51642 > 20.42.65.85:https A / Raw
Ether / IP / TCP 34.233.187.197:https > 192.168.1.35:51654 A / Raw
Ether / IP / TCP 34.233.187.197:https > 192.168.1.35:51654 A / Raw

Scapy is not working, it gives me different IPs. I’m not using any proxies.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The first line is (I’m assuming from the private address) your machine sending data to 20.42.65.85, the next two are the host 34.233.187.197 sending packets to your IP. See how the from IP matches the to?

These might not be a single session.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading