From 2bb15d3a8758eeebcf6a54fff42c399745a9997f Mon Sep 17 00:00:00 2001 From: sinn3r Date: Tue, 11 Feb 2014 02:15:22 -0600 Subject: [PATCH] answerer's interface gets a makeover --- data/webcam/answerer.html | 282 ++++++++++++------ .../extensions/stdapi/webcam/webcam.rb | 1 - 2 files changed, 184 insertions(+), 99 deletions(-) diff --git a/data/webcam/answerer.html b/data/webcam/answerer.html index c4e283a76d..5e7b25bd85 100644 --- a/data/webcam/answerer.html +++ b/data/webcam/answerer.html @@ -1,103 +1,189 @@ - + - +webcam_chat + + + -
-
-Target IP  : =RHOST=
-Start Time : =STARTTIME=
-Status     : Please wait for the broadcast. You need to allow your webcam to run in order to join the video session.
-
+ +
+
-
- Metasploit.com - +
+
+
+ Session status (=RHOST=):

+ +
+
+ - + \ No newline at end of file diff --git a/lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb b/lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb index 3dfe75754d..1610c465f9 100644 --- a/lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb +++ b/lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb @@ -206,7 +206,6 @@ class Webcam interface = interface.gsub(/\=WEBRTCAPIJS\=/, tmp_api.path) interface = interface.gsub(/\=RHOST\=/, rhost) - interface = interface.gsub(/\=STARTTIME\=/, Time.now.to_s) interface = interface.gsub(/\=CHANNEL\=/, channel) interface = interface.gsub(/\=OFFERERID\=/, offerer_id)