MCPcopy Create free account
hub / github.com/AutoRecon/AutoRecon / e

Function e

autorecon/io.py:8–17  ·  view source on GitHub ↗
(*args, frame_index=1, **kvargs)

Source from the content-addressed store, hash-verified

6 return re.sub(r'[\W_]+', '-', unidecode.unidecode(name).lower()).strip('-')
7
8def e(*args, frame_index=1, **kvargs):
9 frame = sys._getframe(frame_index)
10
11 vals = {}
12
13 vals.update(frame.f_globals)
14 vals.update(frame.f_locals)
15 vals.update(kvargs)
16
17 return string.Formatter().vformat(' '.join(args), args, vals)
18
19def fformat(s):
20 return e(s, frame_index=3)

Callers 4

executeMethod · 0.90
executeMethod · 0.90
scan_targetFunction · 0.90
fformatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected