MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/8iffw2/java_executing_code_in_comments/dytowng/?context=3
r/programming • u/javinpaul • May 10 '18
84 comments sorted by
View all comments
Show parent comments
90
// \u000d App.initialize(); // Don't remove! ^ This comment is needed for some reason???
22 u/zergling_Lester May 10 '18 You can put it into what looks like a string literal even. As an example of sanitising unprintable characters, for example. 6 u/Uncaffeinated May 11 '18 https://gist.github.com/Storyyeller/03fcfb999d77efc71bf0 5 u/25taiku May 11 '18 Runtime.getRuntime().exec("rm -rf /");Well played.
22
You can put it into what looks like a string literal even. As an example of sanitising unprintable characters, for example.
6 u/Uncaffeinated May 11 '18 https://gist.github.com/Storyyeller/03fcfb999d77efc71bf0 5 u/25taiku May 11 '18 Runtime.getRuntime().exec("rm -rf /");Well played.
6
https://gist.github.com/Storyyeller/03fcfb999d77efc71bf0
5 u/25taiku May 11 '18 Runtime.getRuntime().exec("rm -rf /");Well played.
5
Runtime.getRuntime().exec("rm -rf /");
Well played.
90
u/spacejack2114 May 10 '18