From 96716e248ae2423f52ff02239ea44adb5cca18f5 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Wed, 27 Jan 2016 16:38:04 +0000 Subject: [PATCH] Add hard-coded module result status --- modules/host/get_physical_location/module.rb | 2 +- modules/host/get_wireless_keys/module.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/host/get_physical_location/module.rb b/modules/host/get_physical_location/module.rb index 094e9552c..c6359e953 100755 --- a/modules/host/get_physical_location/module.rb +++ b/modules/host/get_physical_location/module.rb @@ -28,7 +28,7 @@ class Get_physical_location < BeEF::Core::Command writeToResults = Hash.new writeToResults['data'] = addressFound - BeEF::Core::Models::Command.save_result(@datastore['beefhook'], @datastore['cid'] , @friendlyname, writeToResults) + BeEF::Core::Models::Command.save_result(@datastore['beefhook'], @datastore['cid'] , @friendlyname, writeToResults, 0) BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.unbind('/getGPSLocation.jar') content = {} diff --git a/modules/host/get_wireless_keys/module.rb b/modules/host/get_wireless_keys/module.rb index daf2edac3..1f18f4a04 100644 --- a/modules/host/get_wireless_keys/module.rb +++ b/modules/host/get_wireless_keys/module.rb @@ -17,7 +17,7 @@ class Get_wireless_keys < BeEF::Core::Command f.write((@datastore['results']).sub("result=","")) writeToResults = Hash.new writeToResults['data'] = "Please import "+Dir.pwd+"/exported_wlan_profiles.xml into your windows machine" - BeEF::Core::Models::Command.save_result(@datastore['beefhook'], @datastore['cid'] , @friendlyname, writeToResults) + BeEF::Core::Models::Command.save_result(@datastore['beefhook'], @datastore['cid'] , @friendlyname, writeToResults, 0) BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.unbind('/wirelessZeroConfig.jar') end