Hello Guest

Author Topic: Recon compilation error on 6.0 sp4  (Read 140 times)

0 Members and 1 Guest are viewing this topic.

Offline pgrimard

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Recon compilation error on 6.0 sp4
« on: December 02, 2016, 09:05:39 AM »
I'm trying to use the snmp l2 recon script on the http interface. When i try to start the recon task it show 1% and stops right ways.

I went on the server and tried the script  /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl in command line. There seems to be a problem how the Variable PARENT that is not declared in the recon script.

[root@localhost ~]# /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1083.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1084.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1085.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1086.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1088.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1089.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1090.
Global symbol "%PARENTS" requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1091.
Execution of /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl aborted due to compilation errors.


Offline antonio.s

  • Administrator
  • Smart member
  • *****
  • Posts: 288
  • Karma: 2
    • View Profile
Re: Recon compilation error on 6.0 sp4
« Reply #1 on: December 12, 2016, 02:43:46 AM »
Hello pgrimard,

It is a bug of the recon script. I've been able to replicate it and should be resolved on the next update. However, the solution is really simple if you have some minimal knowledge about perl programming. By just declaring the "PARENTS" variable should fix the issue.

Kind regards,
Antonio.