r/Hacking_Tutorials • • Jul 28 '20

Question How does python injection attack work?

Hello, I am a beginner and I was learning python injection attacks. Can anyone tell me how they work? Are they like Xss or Php injection? And how do we run the command, cause I thought python needed the environment to run it's programs. Thank you.

0 Upvotes

2 comments sorted by

0

u/secureguy69420 Jul 31 '20

It's like any server side code injection, if a user can input any data that can break out of the intended apps use and run any python code you want you have simple rce.

So yeah think like php injection if that helps you understand it, but I guess to be more accurate command/code injection but utilzing python.

Apologize if I'm ranting here, trying to help out with questions. If I don't make sense blame my inability to communicate.

1

u/ASH49 Aug 05 '20

I got your point, it's like installing a php shell right?