php shell_exec

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • miXXXture
    Confirmed User
    • Jul 2009
    • 217

    #1

    php shell_exec

    i had a few simple things to do with exec/system/shell_exec like

    system("wget http://blabla.com/blabla.flv");

    but it is not working...
    i searched and all come up with same thing php.ini disable_functions (also, checked with hosting support)... also, safe_mode=off...
    there was not disable_functions line, so i added...
    still not working...
    i just want to download tube clips and generate thumbs from them with ffmpeg...
    i tried it with a few hosts dedicated/vps, not sure what i'm doing wrong...
    any other special settings needed for exec/system/shell_exec?
    I use Namesilo for domains and Mojohost, DigitalOcean & Vultr for hosting
  • vdbucks
    Monger Cash
    • Jul 2010
    • 2773

    #2
    Did you restart your web server after making changes to php.ini?

    Comment

    • jimmycastor
      So Fucking Banned
      • Jul 2006
      • 342

      #3
      have you tried
      exec("wget http://xyz.myvideo.com");

      whats the error report in php?

      Comment

      • miXXXture
        Confirmed User
        • Jul 2009
        • 217

        #4
        oh fuck...
        just checked error logs, it caused by folder permission.. needed 777...
        I use Namesilo for domains and Mojohost, DigitalOcean & Vultr for hosting

        Comment

        • PornDiscounts-V
          Confirmed User
          • Oct 2003
          • 5744

          #5
          And there you go. Just remember these files will be owned by the server and not your hosting account profile. So to manipulate our delete them you will have to use php exec to do anything.
          Blog Posts - Contextual Links - Hardlinks on 600+ Blog Network
          * Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net

          Comment

          • HomerSimpson
            Too lazy to set a custom title
            • Sep 2005
            • 13826

            #6
            Originally posted by vvvvv
            And there you go. Just remember these files will be owned by the server and not your hosting account profile. So to manipulate our delete them you will have to use php exec to do anything.
            exactly...

            you could also try using http://www.php.net/file_get_contents
            Make a bank with Chaturbate - the best selling webcam program
            Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

            PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

            Comment

            • secureizef
              Confirmed User
              • Nov 2013
              • 173

              #7
              nobody switched to python yet?

              Comment

              Working...