Modules: Rename browser/webcam to browser/webcam_flash (#2276)
Modules: Rename browser/webcam to browser/webcam_flash
This commit is contained in:
@@ -5,10 +5,10 @@
|
|||||||
#
|
#
|
||||||
beef:
|
beef:
|
||||||
module:
|
module:
|
||||||
webcam:
|
webcam_flash:
|
||||||
enable: true
|
enable: true
|
||||||
category: "Browser"
|
category: "Browser"
|
||||||
name: "Webcam"
|
name: "Webcam (Flash)"
|
||||||
description: "This module will show the Adobe Flash 'Allow Webcam' dialog to the user. The user has to click the allow button, otherwise this module will not return pictures.<br />The title/text to convince the user can be customised. You can customise how many pictures you want to take and in which interval (default will take 20 pictures, 1 picture per second). The picture is sent as a base64 encoded JPG string."
|
description: "This module will show the Adobe Flash 'Allow Webcam' dialog to the user. The user has to click the allow button, otherwise this module will not return pictures.<br />The title/text to convince the user can be customised. You can customise how many pictures you want to take and in which interval (default will take 20 pictures, 1 picture per second). The picture is sent as a base64 encoded JPG string."
|
||||||
authors: ["floyd @floyd_ch"]
|
authors: ["floyd @floyd_ch"]
|
||||||
target:
|
target:
|
||||||
@@ -4,11 +4,12 @@
|
|||||||
# See the file 'doc/COPYING' for copying permission
|
# See the file 'doc/COPYING' for copying permission
|
||||||
#
|
#
|
||||||
require 'base64'
|
require 'base64'
|
||||||
class Webcam < BeEF::Core::Command
|
class Webcam_flash < BeEF::Core::Command
|
||||||
def pre_send
|
def pre_send
|
||||||
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/browser/webcam/takeit.swf', '/takeit', 'swf')
|
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/browser/webcam_flash/takeit.swf', '/takeit', 'swf')
|
||||||
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/browser/webcam/swfobject.js', '/swfobject', 'js')
|
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/browser/webcam_flash/swfobject.js', '/swfobject', 'js')
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.options
|
def self.options
|
||||||
configuration = BeEF::Core::Configuration.instance
|
configuration = BeEF::Core::Configuration.instance
|
||||||
social_engineering_title = "This website is using Adobe Flash"
|
social_engineering_title = "This website is using Adobe Flash"
|
||||||
Reference in New Issue
Block a user