+ 1
How to resolve code injection problem arise because of argument parser library like sys.arg, optparse,argparse
I have tried to validate all argument before using them but it didn't work , I got vulnerability on below line opt = parser.parse_args().... using argparse Is there any way to parse command line argument, (I know sub process library in python but that is for automation of command line argument)
3 ответов
+ 2
AARTI SHELAR Pls add in the question description a link to your code in Code Playground and explain the vulnerability you got
+ 1
AARTI SHELAR Create -> Code -> New. Save as public. Then edit your question description, tap "+", then "Code", and select the one you saved.
0
Where is code playground ? Please tell me