Updated introduction of public port settings

These settings are experimental
This commit is contained in:
bcoles
2012-05-07 18:26:27 +09:30
parent f221f93ebb
commit a62b77cc1d
5 changed files with 11 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ class Test_network_request < BeEF::Core::Command
def self.options
@configuration = BeEF::Core::Configuration.instance
beef_host = @configuration.get("beef.http.public") || @configuration.get("beef.http.host")
beef_port = @configuration.get("beef.http.port")
beef_port = @configuration.get("beef.http.public_port") || @configuration.get("beef.http.port")
return [
{'name' => 'scheme', 'ui_label'=>'Scheme', 'type' => 'text', 'width' => '400px', 'value' => 'http' },