Fails when scanning
Brought to you by:
jabraham
Here is what I have installed:
DBD-SQLite-1.13
File-HomeDir-0.64
File-Tail-0.99.3
File-Which-0.05
Nmap-Parser-1.05
pbnj-2.04
Text-CSV_XS-0.23
XML-Parser-2.34
XML-Twig-3.29
YAML-0.62
I am using MySQL instead SQLite.
Here is what I get if I scan a machine other than localhost:
[root@ghost pbnj-2.04]# ./scanpbnj xxx.xxx.xxx.xxx
--------------------------------------
Starting Scan of xxx.xxx.xxx.xxx
Inserting Machine
sortDB: mid not defined at ./scanpbnj line 895.
[root@ghost pbnj-2.04]#
It also fails at line 1252 and I commented it out and got 895.
The localhost data goes into MySQL just fine and looks just like your data.
Any ideas for the failure?
thanks
steve
swbradley1@broadband-consulting.com
Logged In: YES
user_id=1254539
Originator: NO
Steve,
Can you try the latest svn version:
svn co https://pbnj.svn.sourceforge.net/svnroot/pbnj/branch pbnj
I believe I have fixed this issue. Let me know how things go.
Regards,
Josh
Logged In: YES
user_id=1254539
Originator: NO
Steve,
You will need DBD::mysql and use a proper config for mysql. Can you paste your config with username and password modified obviously.
Regards,
Josh
Logged In: YES
user_id=1254539
Originator: NO
This has been fixed in svn.
Check out svn if you want to use the latest version:
svn co https://pbnj.svn.sourceforge.net/svnroot/pbnj/branch pbnj
Regards,
Josh