79125461

Date: 2024-10-25 11:30:48
Score: 1.5
Natty:
Report link

Use encode and no ! for you input (! is there to mark start and end) and don't set text.

here_document_input ="""input 1
input 2
input 3
"""
result = subprocess.run("program", input=here_document_input.encode(), shell=True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: mazop