3 ms·
I am worried about the file size.
by frozenport 13y ago
I am worried about the file size.
- IgorPartola 13y agoDon't worry about it? :) Realistically, how big is your exploit? 30KB? So it'll be 30*7 = 210 KB (JS is actually 7 bit ASCII). That's plenty of code to do something malicious. Nothing is preventing you from minifying the code before converting it to this whitespace encoding. I suppose you could make your encoding include other whitespace chars, like newlines, carriage returns, etc. Then you could use base 4 instead of base 2.
- tghw 13y agogzip and a file that contains sequences of only two different characters should compress pretty well.