We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2d9da commit ffc575dCopy full SHA for ffc575d
spec/support/shared/contexts/msf/util/exe.rb
@@ -69,12 +69,12 @@
69
def verify_bin_fingerprint(format_hash, bin)
70
bin.should be_a(String)
71
fp = IO.popen("file -","w+") do |io|
72
- begin
73
- io.write(bin)
74
- rescue
75
- end
76
- io.close_write
77
- io.read
+ begin
+ io.write(bin)
+ rescue
+ end
+ io.close_write
+ io.read
78
end
79
if format_hash[:file_fp]
80
fp.should =~ format_hash[:file_fp]
0 commit comments