Results 1 to 3 of 3

Thread: Is youtube-dl safe?

  1. #1
    Join Date
    Jan 2012
    Beans
    753

    Is youtube-dl safe?

    I have a program installed called youtube-dl, and it's a python script. It requires root privileges to update itself, but the code itself is obfuscated. The first two lines of the file are like this when opened with vi:
    Code:
    #!/usr/bin/env python
    PK^C^D^T^@^@^@^H^@Ú<9c><Av²9ûã^]^@^@ù_^@^@^Q^@^\^@FileDownloader.pyUT   ^@^C«àeP<97>
    I don't really trust running something like this as root if I don't know the source (I'm not too good at writing Python but I can read it well enough to tell if it's malicious). If it's legal to do so, is there any way I can reverse the obfuscated code, or is this just compiled for speed (.pyc or something)?

    So does anyone know of youtube-dl is safe to use? I downloaded it with apt-get, but I'd still like to make sure.

  2. #2
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Is youtube-dl safe?

    Probably a byte-code file (.pyc as you said). If it is from the repos it is doubtful it is malicious, though. If you're interested in reading the source, it is on Github.
    Occam's Razor for computers: Viruses must never be postulated without necessity -- nevius

    My Blog

  3. #3
    Join Date
    Jan 2012
    Beans
    753

    Re: Is youtube-dl safe?

    Quote Originally Posted by rookcifer View Post
    Probably a byte-code file (.pyc as you said). If it is from the repos it is doubtful it is malicious, though. If you're interested in reading the source, it is on Github.
    Thank you!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •