Skip to content

Commit aceba9f

Browse files
committed
Revert "escape ticks and spaces in paths"
This reverts commit 4c87b1b.
1 parent b178ce1 commit aceba9f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/msf/core/exploit/mixins.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: binary -*-
2-
# $Id$
2+
# $Id: mixins.rb 16142 2012-11-30 19:45:04Z rapid7 $
33
#
44
# All exploit mixins should be added to the list below
55
#

lib/rex/exploitation/cmdstager/bourne.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ def initialize(exe)
2121

2222
def generate(opts = {})
2323
opts[:temp] = opts[:temp] || '/tmp/'
24-
opts[:temp] = opts[:temp].gsub(/'/, "\\\\'")
25-
opts[:temp] = opts[:temp].gsub(/ /, "\\ ")
2624
super
2725
end
2826

0 commit comments

Comments
 (0)