MCPcopy
hub / github.com/Xyntax/POC-T / randomString

Function randomString

plugin/util.py:15–22  ·  view source on GitHub ↗

生成随机字母串 :param length:生成字符串长度 :return 字母串

(length=8)

Source from the content-addressed store, hash-verified

13
14
15def randomString(length=8):
16 """
17 生成随机字母串
18
19 :param length:生成字符串长度
20 :return 字母串
21 """
22 return ''.join([random.choice(ascii_lowercase) for _ in range(length)])
23
24
25def randomDigits(length=8):

Callers 8

pocFunction · 0.90
pocFunction · 0.90
pocFunction · 0.90
fastcgi-rce.pyFile · 0.90
pocFunction · 0.90
pocFunction · 0.90
pocFunction · 0.90
pocFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected