MCPcopy
hub / github.com/trustedsec/social-engineer-toolkit / generate_random_string

Function generate_random_string

src/core/setcore.py:548–551  ·  view source on GitHub ↗
(low, high)

Source from the content-addressed store, hash-verified

546
547
548def generate_random_string(low, high):
549 length = random.randint(low, high)
550 letters = string.ascii_letters # + string.digits
551 return ''.join([random.choice(letters) for _ in range(length)])
552
553#
554# clone JUST a website, and export it.

Callers 10

java_applet_attackFunction · 0.70
upxFunction · 0.70
payloadprep.pyFile · 0.70
binary2teensy.pyFile · 0.50
create_payloads.pyFile · 0.50
spawn.pyFile · 0.50
cloner.pyFile · 0.50
gen_hta_cool_stuffFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected