Add April fools module help banner
This commit is contained in:
parent
84c9a30c40
commit
bfce4dcc3a
|
@ -0,0 +1,15 @@
|
|||
______________________________________
|
||||
/ it looks like you're trying to run a \
|
||||
\ module /
|
||||
--------------------------------------
|
||||
\
|
||||
\
|
||||
__
|
||||
/ \
|
||||
| |
|
||||
@ @
|
||||
| |
|
||||
|| |/
|
||||
|| ||
|
||||
|\_/|
|
||||
\___/
|
|
@ -683,6 +683,7 @@ module Msf
|
|||
print_line ' search eternalblue'
|
||||
print_line ' use <name|index>'
|
||||
print_line
|
||||
print_april_fools_module_use
|
||||
end
|
||||
|
||||
#
|
||||
|
@ -1249,6 +1250,13 @@ module Msf
|
|||
return res.sort
|
||||
end
|
||||
|
||||
def print_april_fools_module_use
|
||||
return unless ENV['APRILFOOLSMODULEUSE'] || Time.now.strftime("%m%d") == "0401"
|
||||
|
||||
banner = Msf::Ui::Banner.readfile('help-using-a-module.txt')
|
||||
print_line("%grn#{banner}%clr")
|
||||
end
|
||||
|
||||
#
|
||||
# Convert squirrel names back to regular module names
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue