From 3583db6a925feb8e8231dc8b27c9d1b11a0e4d3a Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Sat, 10 Aug 2013 13:30:24 +0200 Subject: [PATCH] banner artwork --- lib/common/common_helper.rb | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/lib/common/common_helper.rb b/lib/common/common_helper.rb index 12a31246..811f1d44 100644 --- a/lib/common/common_helper.rb +++ b/lib/common/common_helper.rb @@ -75,24 +75,29 @@ require_files_from_directory(UPDATER_LIB_DIR) if @updater REVISION = @updater.local_revision_number() else - REVISION = 'NA' + REVISION = nil end # our 1337 banner +# v#{WPSCAN_VERSION}r#{REVISION} def banner - puts '____________________________________________________' - puts ' __ _______ _____ ' - puts ' \\ \\ / / __ \\ / ____| ' - puts ' \\ \\ /\\ / /| |__) | (___ ___ __ _ _ __ ' - puts ' \\ \\/ \\/ / | ___/ \\___ \\ / __|/ _` | \'_ \\ ' - puts ' \\ /\\ / | | ____) | (__| (_| | | | |' - puts " \\/ \\/ |_| |_____/ \\___|\\__,_|_| |_| v#{WPSCAN_VERSION}r#{REVISION}" + puts '_______________________________________________________________' + puts ' __ _______ _____ ' + puts ' \\ \\ / / __ \\ / ____| ' + puts ' \\ \\ /\\ / /| |__) | (___ ___ __ _ _ __ ' + puts ' \\ \\/ \\/ / | ___/ \\___ \\ / __|/ _` | \'_ \\ ' + puts ' \\ /\\ / | | ____) | (__| (_| | | | |' + puts ' \\/ \\/ |_| |_____/ \\___|\\__,_|_| |_|' puts - puts ' WordPress Security Scanner by the WPScan Team' - puts ' Twitter: @_WPScan_, @ethicalhack3r, @erwan_lr,' - puts ' @gbrindisi, @_FireFart_' - puts ' Sponsored by the RandomStorm Open Source Initiative' - puts '_____________________________________________________' + puts ' WordPress Security Scanner by the WPScan Team ' + if REVISION + puts " Version v#{WPSCAN_VERSION}r#{REVISION}" + else + puts " Version v#{WPSCAN_VERSION}" + end + puts ' Sponsored by the RandomStorm Open Source Initiative' + puts ' @_WPScan_, @ethicalhack3r, @erwan_lr, @gbrindisi, @_FireFart_' + puts '_______________________________________________________________' puts end