Menu

#2 Command Execute Box

Deferred Long Term
open
nobody
2
2007-12-13
2007-02-06
No

I like the idea of an execute box for a command, much like SSH, however it might introduce a risk into the application of hacking. Honestly, that's a risk anyway, and it's up to the user to secure the app using an outside source like htaccess files or something.

Basically, the box would just have a text entry field in it that would allow you to enter a command, and retrieve the results from a textarea box below that. There are likely a few FOSS projects we can pull in for this functionality.

Discussion

  • Paul Wratt

    Paul Wratt - 2007-11-12

    Logged In: YES
    user_id=1931663
    Originator: NO

    I have a module for this, Console, but it runs under FileWalker, not inside PHP Navigator.

    Please state commands needed, and/or example uses.

    technical: Console does NOT use an OS pass-through, it uses PHP only, which makes it 100% secure from the OS point of view (ATM it does not handle pipes). Also MOST (if not ALL) PHP installations have pass-through turned OFF by default.

    Paul

     
  • Paul Wratt

    Paul Wratt - 2007-11-12

    Logged In: YES
    user_id=1931663
    Originator: NO

    WWW.PHP.NET

    chown()

    Note: When safe mode is enabled, PHP checks whether the files or directories you are about to operate on have the same UID (owner) as the script that is being executed.

    Paul

     
  • Tim Alexander

    Tim Alexander - 2007-12-13
    • priority: 5 --> 2
     
  • Paul Wratt

    Paul Wratt - 2011-12-10

    v5 plugin - simply joins to functions - OS safe and OS independant - can still be secure by PHP Navigator

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.