This commit is contained in:
Christian Mehlmauer
2015-05-12 21:28:12 +02:00
parent b5d5c4177d
commit b931df654d
7 changed files with 75 additions and 71 deletions

View File

@@ -116,19 +116,21 @@ def blue(text)
end
def critical(text)
red(text)
$exit_code += 1
"#{red('[!]')} #{text}"
end
def warning(text)
amber(text)
$exit_code += 1
"#{amber('[!]')} #{text}"
end
def info(text)
green(text)
"#{green('[+]')} #{text}"
end
def notice(text)
blue(text)
"#{blue('[i]')} #{text}"
end
# our 1337 banner