appsecben
  • AppSecBen
  • Awesome Links
  • tools
    • grep
    • netstat
    • nmap
    • h8mail
    • sherlock
    • BeEF
    • Wireshark
    • Scapy
    • ffuf
    • wafw00f
    • hCaptcha
    • sn1per
    • WPScan
    • searchsploit
    • Metasploit
    • wget
    • Bash Scripting
    • git
    • Docker
    • VSCode
    • Local web server
    • S3 Bucket
    • JWT
  • Links Úteis
    • Cursos
    • Ferramentas Online
    • Repositórios
    • Articles, Docs, Sites, etc
  • Infra
    • Email
    • DNS
    • Subdomain
    • Ferramentas
    • SSH
  • Tor
    • Links
    • Tor + ProxyChains Config
  • GoLang
    • Cheat Sheet
    • Install
    • Useful Links
    • Packages
    • VSCode
  • Vulns
    • Log4j
Powered by GitBook
On this page

Was this helpful?

  1. tools

Scapy

Scapy is a powerful interactive packet manipulation program.

Enviar um pacote SYN

# SCRIPT
#!/usr/bin/python
from scapy.all import IP, TCP, send

src_ip = "192.168.0.10"
dst_ip = "37.59.174.235"

src_port = 1972
dst_port = 1337

ip = IP(src=src_ip, dst=dst_ip)
syn_packet = TCP(sport=src_port,dport=dst_port,flags="S",seq=0)
resp = send(ip/syn_packet)


# OUTPUT SAMPLE
.
Sent 1 packets.
PreviousWiresharkNextffuf

Last updated 4 years ago

Was this helpful?