Using Nmap commands in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Love_Daddy
Forum Commoner
Posts: 61
Joined: Wed Jul 10, 2002 6:55 am
Location: South Africa
Contact:

Using Nmap commands in PHP

Post by Love_Daddy »

Hi Guys,

I want to write a GUI for using Nmap commands, where you can specify all commands to be
executed and also include a filename to save into.

I know for a fact that you can use the following script:

<?system(escapeshellcmd("nmap" . $whatever)); ?>

For instance, nmap has several commands you can include like:
-sS -vv -O -oN , etc..
So I want users to choose options either by checkboxes.

Please help..
Post Reply