diff --git a/extensions/notifications/notifications.rb b/extensions/notifications/notifications.rb index f2c67f5cb..58b03409e 100644 --- a/extensions/notifications/notifications.rb +++ b/extensions/notifications/notifications.rb @@ -6,6 +6,7 @@ require 'extensions/notifications/channels/tweet' require 'extensions/notifications/channels/email' +require 'extensions/notifications/channels/pushover' module BeEF module Extension @@ -39,6 +40,10 @@ module Notifications to_address = @config.get('beef.extension.notifications.email.to_address') BeEF::Extension::Notifications::Channels::Email.new(to_address,message) end + + if @config.get('beef.extension.notifications.pushover.enable') == true + BeEF::Extension::Notifications::Channels::Pushover.new(message) + end end end