DEV Community

Discussion on: Let's! Ping The Network with 15 Line Of Code Using Python & Scapy!

Collapse
 
lifeofkar profile image
Karthik R

Just found out what scapy is,

I'm trying to build a similar ping check script using the scapy.

But i feel this is a bit un-reliable.
some times while pinging even 8.8.8.8 shows down

Just 1 out of 3 results came with UP :(

Any particular reason for this?

Collapse
 
powerexploit profile image
powerexploit

I have't any idea when I tried scapy it was working very well also for 8.8.8.8 it was showing up.

Collapse
 
lifeofkar profile image
Karthik R

Here's the code sample i'm using and some test runs.
Let me know if im doing anything wrong here :)
bin.gojira.tokyo/azuleqoyot.rb

Thread Thread
 
powerexploit profile image
powerexploit

Hey I have checked your script.I am happy that you are working on scapy.
why you are making its too complex you can ping 8.8.8.8 with simple script as i have shared.