Hacker News new | past | comments | ask | show | jobs | submit login

I am worried about the file size.



Don'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.


gzip and a file that contains sequences of only two different characters should compress pretty well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: