Skip to content

Commit 3e0f909

Browse files
committed
Remove debug file writes
1 parent 94fa6a3 commit 3e0f909

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/lib/msf/core/exploit/powershell_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ def decompress(code)
9797
end
9898
it 'shouldnt strip whitespace' do
9999
script = File.read(example_script)
100-
File.open('/tmp/1','w') { |f| f.write script }
101100
compressed = subject.compress_script(script)
102-
File.open('/tmp/2','w') { |f| f.write decompress(compressed) }
103101
expect(decompress(compressed).length).to eq(script.length)
104102
end
105103
end

0 commit comments

Comments
 (0)