Modules: Resolve many Rubocop violations
This commit is contained in:
@@ -3,12 +3,10 @@
|
||||
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
||||
# See the file 'doc/COPYING' for copying permission
|
||||
#
|
||||
class Detect_simple_adblock< BeEF::Core::Command
|
||||
|
||||
def post_execute
|
||||
content = {}
|
||||
content['simple_adblock'] = @datastore['simple_adblock'] if not @datastore['simple_adblock'].nil?
|
||||
save content
|
||||
end
|
||||
|
||||
class Detect_simple_adblock < BeEF::Core::Command
|
||||
def post_execute
|
||||
content = {}
|
||||
content['simple_adblock'] = @datastore['simple_adblock'] unless @datastore['simple_adblock'].nil?
|
||||
save content
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user