Fix Phonegap_persistence config

This commit is contained in:
Brendan Coles
2014-10-11 15:36:08 +00:00
parent 04b3bee8cf
commit cb7a36e8dc

View File

@@ -11,7 +11,7 @@ class Phonegap_persistence < BeEF::Core::Command
def self.options
@configuration = BeEF::Core::Configuration.instance
proto = configuration.get("beef.http.https.enable") == true ? "https" : "http"
proto = @configuration.get("beef.http.https.enable") == true ? "https" : "http"
beef_host = @configuration.get("beef.http.public") || @configuration.get("beef.http.host")
beef_port = @configuration.get("beef.http.public_port") || @configuration.get("beef.http.port")
hook_file = @configuration.get("beef.http.hook_file")