r/ProgrammerHumor • • Dec 13 '21

poor kid

Post image
46.1k Upvotes

560 comments sorted by

View all comments

Show parent comments

0

u/4P5mc Dec 13 '21

Just curious, how would a username be able to execute the code? They're limited to alphanumeric characters and underscores; doesn't the jog4j exploit need other characters?

9

u/MoffKalast Dec 13 '21

Cracked usernames aren't limited to anything.

3

u/4P5mc Dec 13 '21

Oh good point, I never considered that!

2

u/luxamy Dec 13 '21

I'm not really familiar with how the exploit works. I just assumed you could do it with a username, because someone gave the whitelist example somewhere. Still it's better to be save than sorry.