PHP code injection to shell
This tut is about how to upload shell with php
This tut is about how to upload shell with php
php code injection to shell |
|
Honestly, this is a terrible and misleading example of PHP code injection. Login credentials would never be passed to eval() in such a manner. If you don't know how even simple authentication works, you shouldn't use it in your demonstration. Frankly, it's a bad tutorial all around. It's obvious you don't even understand how or why this works, only that you can do it. That's not a tutorial. If you want to know how this works, as well as how to write or even partially simulate an actual login, read the PHP documentation. The former, i.e. Complex (curly) syntax ({${expression}}), can be read about here: http://php.net/manual/en/language.types....ng.complex. Learn to make before you break.
![]() (Sep 5, 2018 12:12 AM)Phizo Wrote: Honestly, this is a terrible and misleading example of PHP code injection. Login credentials would never be passed to eval() in such a manner. If you don't know how even simple authentication works, you shouldn't use it in your demonstration. Frankly, it's a bad tutorial all around. It's obvious you don't even understand how or why this works, only that you can do it. That's not a tutorial. If you want to know how this works, as well as how to write or even partially simulate an actual login, read the PHP documentation. The former, i.e. Complex (curly) syntax ({${expression}}), can be read about here: Learn to make before you break. Phizo? Still around? Damn, now that's a name I haven't seen in a long time. Unsure if you even remember me. (Sep 5, 2018 02:02 AM)M L T Wrote: Phizo? Still around? Damn, now that's a name I haven't seen in a long time. Unsure if you even remember me. I don't really come on here much anymore, but still around. :~) Met up with K4Fr a few months ago when he was down here for work. ![]() |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| by SIM-4791248Sep 29, 2021 08:37 PM | 2 | 154 |
Sep 29, 2021 08:37 PM Last Post: linkinpork |
| by 10IdentAug 4, 2017 06:51 AM | 23 | 4,019 |
Aug 4, 2017 06:51 AM Last Post: csuki |
| by shazalammNov 4, 2016 05:14 PM | 1 | 328 |
Nov 4, 2016 05:14 PM Last Post: something goes here |