If you’re using the terminal on Linux or Mac, echo <password> | sudo -S <command>
.
If you’re doing this programmatically, for example in Python, os.system(f'echo {password} | sudo -S {command}')
.
If you’re using the terminal on Linux or Mac, echo <password> | sudo -S <command>
.
If you’re doing this programmatically, for example in Python, os.system(f'echo {password} | sudo -S {command}')
.
For further actions, you may consider blocking this person and/or reporting abuse
Ahmed Jaad -
Pravesh Sudha -
Keyur Chaudhari -
Anas Hussain -
Top comments (0)