Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could measure the entropy of single lines and determine if the entropy is high. Although you'd probably get a lot of false positive.


You can probably just measure the entropy of literals, but then an attacker might use reflection to construct arbitrary strings. Not an easy problem.




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

Search: