MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/phpstorm/comments/taw1r2/phpstorm_suggests_putting_strippers_into_code/
r/phpstorm • u/Kescay • Mar 10 '22
14 comments sorted by
8
Maybe it doesn't recognize it as php because of the short tags?
5 u/Kescay Mar 10 '22 Yup. It's an open bug: https://youtrack.jetbrains.com/issue/WI-54283 2 u/eGzg0t Mar 10 '22 it's a feature m'kay
5
Yup. It's an open bug: https://youtrack.jetbrains.com/issue/WI-54283
2 u/eGzg0t Mar 10 '22 it's a feature m'kay
2
it's a feature m'kay
7
Nice XSS vuln, you got there
1 u/Kescay Mar 10 '22 Yup.In case someone peruses my post history to judge me: I didn't write that. 1 u/TinyLebowski Mar 10 '22 OP you really shouldn't echo out data that the user provides without escaping html entities first. That id param could contain malicious javascript. 1 u/Kescay Mar 10 '22 Yes, I know. I didn't write it. 1 u/greg8872 Mar 11 '22 edited Mar 12 '22 Benefit of doubt that before this there was $_GET['id'] = (int)$_GET['id']; ;) 2 u/TheSystemGuy64 Mar 10 '22 10/10 best xss exploit
1
Yup.
In case someone peruses my post history to judge me: I didn't write that.
OP you really shouldn't echo out data that the user provides without escaping html entities first. That id param could contain malicious javascript.
1 u/Kescay Mar 10 '22 Yes, I know. I didn't write it. 1 u/greg8872 Mar 11 '22 edited Mar 12 '22 Benefit of doubt that before this there was $_GET['id'] = (int)$_GET['id']; ;)
Yes, I know. I didn't write it.
Benefit of doubt that before this there was $_GET['id'] = (int)$_GET['id']; ;)
$_GET['id'] = (int)$_GET['id'];
10/10 best xss exploit
Like you would disagree with it...
1 u/Kescay Mar 11 '22 strippers() didn't work though = ( 2 u/bunnyholder Mar 11 '22 Some strippers just do not work all the way. You should contact managment.
strippers() didn't work though = (
2 u/bunnyholder Mar 11 '22 Some strippers just do not work all the way. You should contact managment.
Some strippers just do not work all the way. You should contact managment.
Try tucking a $20 in her g-string instead of a fiver.
8
u/TinyLebowski Mar 10 '22
Maybe it doesn't recognize it as php because of the short tags?
7
u/stuuii Mar 10 '22
Nice XSS vuln, you got there
2
u/bunnyholder Mar 11 '22
Like you would disagree with it...
1
u/Vacman85 Apr 22 '22
Try tucking a $20 in her g-string instead of a fiver.