From eb762b3653dd867c413abb7f6b87e2a6f2ec2961 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 29 Jun 2012 01:07:58 -0500 Subject: [PATCH] Back out encoding change of empty string, done by comment --- lib/rex/zip/archive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/zip/archive.rb b/lib/rex/zip/archive.rb index 0c473541cf..0c69769aee 100644 --- a/lib/rex/zip/archive.rb +++ b/lib/rex/zip/archive.rb @@ -66,7 +66,7 @@ class Archive # Compress this archive and return the resulting zip file as a String. # def pack - ret = ''.unpack("C*").pack("C*") + ret = '' # save the offests offsets = []