EPS/2024/02/05-02-24/fuzzing_d.py

15 lines
332 B
Python

import random
from string import ascii_lowercase
def rand_letters(a):
return "".join(random.choices(ascii_lowercase[:10], k=a))
count = 5
print(count)
for i in range(count):
size = random.randint(0, 100000)
repl = random.randint(0, 10)
print(size, repl)
print(rand_letters(size))
print(rand_letters(size))