Minor spelling/grammatical changes
This commit is contained in:
@@ -50,6 +50,7 @@ WelcomeTab = function() {
|
||||
<ul style=\"margin-left:15px;\">\
|
||||
<li>Architecture of the BeEF System: <a href='https://github.com/beefproject/beef/wiki/Architecture'>https://github.com/beefproject/beef/wiki/Architecture</a></li>\
|
||||
<li>Tunneling Proxy: <a href='https://github.com/beefproject/beef/wiki/Tunneling-Proxy'>https://github.com/beefproject/beef/wiki/Tunneling-Proxy</a></li>\
|
||||
<li>XssRays Integration: <a href='https://github.com/beefproject/beef/wiki/XssRays-Integration'>https://github.com/beefproject/beef/wiki/XssRays-Integration</a></li>\
|
||||
<li>Writing your own modules: <a href='https://github.com/beefproject/beef/wiki/Command-Module-API'>https://github.com/beefproject/beef/wiki/Command-Module-API</a></li></ul>\
|
||||
</div>\
|
||||
";
|
||||
|
||||
@@ -15,15 +15,16 @@
|
||||
#
|
||||
class Play_sound < BeEF::Core::Command
|
||||
|
||||
# set and return all options for this module
|
||||
# set and return all options for this module
|
||||
def self.options
|
||||
configuration = BeEF::Core::Configuration.instance
|
||||
|
||||
sound_file_url = "http://#{configuration.get("beef.http.host")}:#{configuration.get("beef.http.port")}/demos/sound.wav"
|
||||
|
||||
|
||||
configuration = BeEF::Core::Configuration.instance
|
||||
|
||||
sound_file_url = "http://#{configuration.get("beef.http.host")}:#{configuration.get("beef.http.port")}/demos/sound.wav"
|
||||
|
||||
return [{
|
||||
'name' => 'sound_file_uri',
|
||||
'description' => 'The web accessable uri for the wave sound file',
|
||||
'description' => 'The web accessible URI for the wave sound file.',
|
||||
'ui_label' => 'Sound File Path',
|
||||
'value' => sound_file_url,
|
||||
'width' => '300px'
|
||||
|
||||
@@ -7,13 +7,13 @@ class File_upload < BeEF::Core::Command
|
||||
return [{
|
||||
'name' => 'file_upload_dst',
|
||||
'description' => 'Upload a file from device to your server',
|
||||
'ui_label'=>'detination',
|
||||
'ui_label'=>'Destination',
|
||||
'value' => 'http://192.168.9.130/recv-unauth.php',
|
||||
'width' => '300px'
|
||||
},{
|
||||
'name' => 'file_upload_src',
|
||||
'description' => 'path to file on device',
|
||||
'ui_label'=>'file path',
|
||||
'ui_label'=>'File Path',
|
||||
'value' => '/sdcard/myrecording.wav',
|
||||
'width' => '300px'
|
||||
}]
|
||||
|
||||
@@ -4,14 +4,16 @@
|
||||
class Persistence < 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")
|
||||
|
||||
return [{
|
||||
'name' => 'hook_url',
|
||||
'description' => 'The URL of your BeEF hook',
|
||||
'ui_label'=>'Hook URL',
|
||||
'value' => 'http://'+beef_host+':3000/hook.js',
|
||||
'value' => 'http://'+beef_host+':'+beef_port+'/hook.js',
|
||||
'width' => '300px'
|
||||
}]
|
||||
end
|
||||
|
||||
@@ -7,7 +7,7 @@ class Start_record_audio < BeEF::Core::Command
|
||||
return [
|
||||
{'name' => 'file_name',
|
||||
'description' => 'File name for audio recording',
|
||||
'ui_label' => 'file name',
|
||||
'ui_label' => 'File Name',
|
||||
'value' => 'myrecording.wav'
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user