MCPcopy
hub / github.com/threat9/routersploit / print_error

Function print_error

routersploit/core/exploit/printer.py:50–55  ·  view source on GitHub ↗

Print error message prefixing it with [-]

(*args, **kwargs)

Source from the content-addressed store, hash-verified

48
49
50def print_error(*args, **kwargs) -> None:
51 """ Print error message prefixing it with [-]
52
53 """
54
55 __cprint("\033[91m[-]\033[0m", *args, **kwargs)
56
57
58def print_status(*args, **kwargs) -> None:

Callers 15

startMethod · 0.90
nonInteractiveMethod · 0.90
command_useMethod · 0.90
command_runMethod · 0.90
command_setMethod · 0.90
command_unsetgMethod · 0.90
_show_encodersMethod · 0.90
command_showMethod · 0.90
command_checkMethod · 0.90
command_searchMethod · 0.90
http_requestMethod · 0.90
btle_scanMethod · 0.90

Calls 1

__cprintFunction · 0.85

Tested by 4

test_connectMethod · 0.72
test_connectMethod · 0.72
test_authMethod · 0.68
test_cookieMethod · 0.68