Open-AudIT
https://www.open-audit.org/phpBB3/

[bug] [fixed] snmp scan error version 1.12.8
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6547
Page 1 of 1

Author:  shanimal [ Sat Aug 20, 2016 3:26 am ]
Post subject:  [bug] [fixed] snmp scan error version 1.12.8

When attempting to do a "SNMP scan" for an esxi host I got an error "Parse error: syntax error, unexpected T_LOGICAL_AND, expecting ')' in line 242 c:\xampplite\open-audit\code_igniter\application\controllers\admin_system.php

this is line 242
Quote:
if (!empty($credential->type and $credential->type == 'snmp')) {


Here is the fix
Quote:
if (!empty($credential->type) and $credential->type == 'snmp') {


I moved a close from the end, to after the first "type"

Author:  vwercher [ Sat Aug 20, 2016 5:30 am ]
Post subject:  Re: [bug] [fixed] snmp scan error version 1.12.8

Thanks!

Author:  Mark [ Sun Aug 21, 2016 11:17 am ]
Post subject:  Re: [bug] [fixed] snmp scan error version 1.12.8

Fixed, thanks for the report. It's in 1.12.8.1.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/