Files
beef/modules/phonegap/detect/module.rb
bcoles 8a1a5259c0 Minor updates to PhoneGap modules:
o Fixed bug in the Detect PhoneGap module
		o No longer fails to return if PhoneGap is not present

	o Some minor module name and description updates
2011-12-21 23:02:45 +10:30

13 lines
167 B
Ruby

# phonegap
#
class Detect < BeEF::Core::Command
def post_execute
content = {}
content['phonegap'] = @datastore['phonegap']
save content
end
end