Active
Project:
Command
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2009 at 12:56 UTC
Updated:
22 Apr 2009 at 12:29 UTC
how could i use this module to call nmap and show result in my page
Comments
Comment #1
doq commentedResult will be outputted as message (drupal_set_message()) and will be logged to watchdog.
Comment #2
haojiang commentedsorry to borther you again
in my theme , i create a page call "page-command.tpl.php" and in this page , it contains
or
but just nothing seems to correlate to the command "nmap " show in my normal command like.
did i missunderstand the module , where can i found my results?
right now i want to have command_run("dir"); to show one of my folder's tree out in page "xxx.com/command"
how to?
Comment #3
doq commentedJust use php exec() function.