Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os.system is bad, use subprocess so commands can't be injected #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericfrederich
Copy link

subprocess module has calls which take lists of arguments making it impossible for the video link to contain something malicious which could escape the youtube-dl call.

@mondayrain
Copy link
Contributor

@ericfrederich gooood call

@ericfrederich
Copy link
Author

I messed up a push and it closed this. Re-opening. Please consider merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants