Description: In this video I will show you how to send packets to your target and send ping request on your target using scapy.
Scapy is a powerful interactive packet manipulation program. It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more. It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery (it can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, etc.). It also performs very well at a lot of other specific tasks that most other tools can't handle, like sending invalid frames, injecting your own 802.11 frames, combining technics (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted channel, ...), etc. See interactive tutorial and the quick demo: an interactive session (some examples may be outdated).
Source : - http://www.secdev.org/projects/scapy/
Commands
IP().show()
ip=IP(src="192.168.0.1")
ip/TCP()
tcp=TCP(sport=1025, dport=80)
Ether()/Dot1Q()/IP()
send(ip/tcp)
sr(IP(dst="target")/ICMP())
srloop(IP(dst="target")/ICMP(), count=3)
Tags: scapy , python , hacking , hack , ping ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.