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

Function debug_msg

src/core/setcore.py:235–245  ·  view source on GitHub ↗
(currentModule, message, msgType)

Source from the content-addressed store, hash-verified

233
234
235def debug_msg(currentModule, message, msgType):
236 if DEBUG_LEVEL == 0:
237 pass # stop evaluation efficiently
238 else:
239 if msgType <= DEBUG_LEVEL:
240 # a bit more streamlined
241 print(bcolors.RED + "\nDEBUG_MSG: from module '" +
242 currentModule + "': " + message + bcolors.ENDC)
243
244 if DEBUG_LEVEL == 2 or DEBUG_LEVEL == 4 or DEBUG_LEVEL == 6:
245 raw_input("waiting for <ENTER>\n")
246
247
248def mod_name():

Callers 9

msf_list.pyFile · 0.90
validate_ipFunction · 0.85
site_clonerFunction · 0.85
set.pyFile · 0.85
create_payload.pyFile · 0.85
create_payloads.pyFile · 0.85
template.pyFile · 0.85
multiattack.pyFile · 0.85
gen_payload.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected