So.... Xampp works OK, but you are having problems populating the database... The script runs, but only audits one machine... you dont see the expected results (and I last spoke German about 20 years ago, and then fairly badly, so bear with me...
)
First change
[code]
ie_form_page = "http://localhost/openaudit/admin_pc_add_1.php"
non_ie_page = "http://localhost/openaudit/admin_pc_add_2.php"
[/code]
to point to the correct IP address or DNS name of your server. localhost will only allow you to run the audit on the local pc (the XAMPP box in this case).
something like
[code]
ie_form_page = "http://mypc.mydomain.local/openaudit/admin_pc_add_1.php"
non_ie_page = "http://mypc.mydomain.local/openaudit/admin_pc_add_2.php"
[/code]
Next open
http://mypc.mydomain.local/openaudit/admin_pc_add_1.php in your web browser, you should see a web form.. this is what the script submits its results to. If you dont see this page, check your XAMPP settings.
Now check the LDAP: line, looks OK, but this should be the ldap domain rather than a domain controller in that domain, so
local_domain = "LDAP://mydomain.local"
rather than
local_domain = "LDAP://myserver.mydomain.local"
Also
strComputer = "."
should be
strComputer = ""
Otherwise you will only ever audit the machine called "." (i.e. the local machine)...
Finally, I tend to use uuid_type = "uuid" rather than uuid_type = "mac" but that is up to you.
And now the poor translation... enjoy...
Also .... Xampp ist okay, aber Sie haben Probleme bevölkern die Datenbank ...
Das Skript läuft, sondern nur Audits einer Maschine ...
Sie sehen nicht die erwarteten Ergebnisse (und ich sprach Deutsch über die letzten 20 Jahre alt, und dann ziemlich schlecht, die Geduld mit mir ...: oops:)
Zuerst ändern
[code]
Ie_form_page = "http://localhost/openaudit/admin_pc_add_1.php"
Non_ie_page = "http://localhost/openaudit/admin_pc_add_2.php"
[/code]
, Um auf die richtige IP-Adresse oder der DNS-Name Ihres Servers.
localhost wird nur erlauben Ihnen, die Prüfung auf dem lokalen PC (die XAMPP-Box in diesem Fall).
So etwas wie
[code]
Ie_form_page = "http://mypc.mydomain.local/openaudit/admin_pc_add_1.php"
Non_ie_page = "http://mypc.mydomain.local/openaudit/admin_pc_add_2.php"
[/code]
Weiter offen
http://mypc.mydomain.local/openaudit/admin_pc_add_1.php in Ihrem Web-Browser, sollten Sie ein Web-Formular ..
Das ist es, was das Skript legt seine Ergebnisse an. Wenn Sie diese Seite nicht sehen, überprüfen Sie die Einstellungen XAMPP.
Nun überprüfen Sie die LDAP: Line, sieht OK, aber dies sollte die LDAP-Domain und nicht als Domänencontroller in dieser Domäne, die
[code]
Local_domain = "LDAP: / / mydomain.local"
[/code]
Anstatt
[code]
Local_domain = "LDAP: / / myserver.mydomain.local"
[/code]
Auch
[code]
StrComputer = "."
[/code]
Sollte
[code]
StrComputer = ""
[/code]
Ansonsten werden Sie immer nur Prüfung der Maschine namens "." (D. h. die lokale Maschine) ...
Schließlich, neige ich dazu zu verwenden uuid_type = "uuid" anstatt uuid_type = "mac", aber das liegt ganz bei Ihnen.