advertisement

Article:
  Build a Dashboard Widget
Subject:   Isn't that a bit dangerous?
Date:   2005-05-07 01:55:30
From:   KerryB
var commandLine =
"groff -mandoc -Tascii -P-b -P-c `man -w " +
document.getElementById('programName').value + "`| cat ";


I realise this isn't production code, and I may be missing something, but what happens if the user types something like foo;rm -rf $HOME into the command field?


1 to 3 of 3
  1. Isn't that a bit dangerous?
    2005-05-09 09:32:39  heyotwell [View]

  2. Isn't that a bit dangerous?
    2005-05-07 05:15:01  Andrew Anderson | [View]

  3. Isn't that a bit dangerous?
    2005-05-07 04:57:55  SanjayW [View]

    • Isn't that a bit dangerous?
      2005-05-07 12:59:27  KerryB [View]

1 to 3 of 3