Hi !
I am giving a try to OA. Not that easy, regarding the lack of documentation...
Especially for Linux version, I would say.
Anyhow, I succeeded in grabbing info from both Linux or Windows hosts.
Now, I am stuck with scanning my network with nmap.
I ran the following script, very simplified version of nmap_linux.sh script available in OA package :
[code]#!/bin/bash
nmap_file="./nmap_file.txt"
nmap_input=`nmap -v -O -oN $nmap_file 192.168.0.1`
nmap_output=`cat $nmap_file`
wget --post-data="submit=submit&add=$nmap_output" http://my_server/OpenAudit/admin_nmap_input.php
[/code]
No success. There is no entry in 'Discover ports >> All active ports" on OA server
Find below the last lines of admin_nmap_input.php :
[code]<td valign="top">
<div class="main_each"><p class="contenthead">NMap</p>
IP Address: 192.168.0.1<br />Name: my-dhcp-0-1<br />Device Type: general purpose<br />Running: Microsoft Windows Vista|2008|7<br />Windows.<br />SELECT net_uuid FROM network_card WHERE net_ip_address = '192.168.0.1'<br />SELECT other_id FROM other WHERE other_ip_address = '192.168.000.001'<br /></div>
</div>
</td>
</body>
</html>
[/code]
Notes :
- Of course, 192.168.0.1 is a running host, with many active ports.
- Of course, my OA server is available at http://my_server/OpenAudit
- I run this script from another linux host that the one hosting OA server (but it should not make any difference, I guess...)
Any idea why the NMAP table on OA server remains empty ?
Thanks in advance for support.