=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== lightsquid-1.8/check-setup.pl-21-print "reportpath: $reportpath\n"; lightsquid-1.8/check-setup.pl:22:die "can't found report folder `$reportpath`\nplease check \$reportpath variable, create if need\n" unless (-d "$reportpath"); lightsquid-1.8/check-setup.pl-23- ############################################## lightsquid-1.8/check-setup.pl-147- print "WARNING: \$squidlogtype=$squidlogtype in lightsquid.conf, it's mean expected log type is '$LogName[$squidlogtype]'\n"; lightsquid-1.8/check-setup.pl:148: print "WARNING: but your access.log look like `$type`, please correct config file -> `\$squidlogtype=$detected`\n"; lightsquid-1.8/check-setup.pl-149- $ret=1; ############################################## lightsquid-1.8/ip2name/ip2name.abils-30- { lightsquid-1.8/ip2name/ip2name.abils:31: my $result = $dbh->prepare("select start,users.id , ip from dv_log ,users where (users.uid=dv_log.uid) and (ip='".unpack('N',inet_aton($ip))."')and (start < FROM_UNIXTIME('".$time."')) order by start DESC"); lightsquid-1.8/ip2name/ip2name.abils-32- $result->execute(); ############################################## lightsquid-1.8/ip2name/ip2name.demo-20- lightsquid-1.8/ip2name/ip2name.demo:21: my $user2 = `host $user`; lightsquid-1.8/ip2name/ip2name.demo-22- $user2 =~ m/domain name pointer (.*?).$/; ############################################## lightsquid-1.8/ip2name/ip2name.dhcp-49- my $iaddr = inet_aton($ip); lightsquid-1.8/ip2name/ip2name.dhcp:50: my $user = scalar gethostbyaddr($iaddr, AF_INET); lightsquid-1.8/ip2name/ip2name.dhcp-51- ############################################## lightsquid-1.8/ip2name/ip2name.dns-15- my $iaddr = inet_aton($ip); lightsquid-1.8/ip2name/ip2name.dns:16: my $user = scalar gethostbyaddr($iaddr, AF_INET); lightsquid-1.8/ip2name/ip2name.dns-17- ############################################## lightsquid-1.8/ip2name/ip2name.smb-16- lightsquid-1.8/ip2name/ip2name.smb:17: my $smb=`nmblookup -A $ip`; lightsquid-1.8/ip2name/ip2name.smb-18- if ($smb=~m/\s+(\S+)\s+\<00\> -\s+\S\s\<ACTIVE\>/s) { ############################################## lightsquid-1.8/lightparser.pl-419- #read data from `lockfile` lightsquid-1.8/lightparser.pl:420: print STDERR "Warning, `$lockfilepath` exist, maybe anoter process running !\n"; lightsquid-1.8/lightparser.pl:421: open FF,"<","$lockfilepath" or die "can't read lock file `$lockfilepath`\n"; lightsquid-1.8/lightparser.pl-422- $pid=<FF>;chomp $pid;$pid =~ s/PID: //; ############################################## lightsquid-1.8/lightparser.pl-435- lightsquid-1.8/lightparser.pl:436: open FF,">","$lockfilepath" or die "can't create lock file `$lockfilepath`\n"; lightsquid-1.8/lightparser.pl-437- print FF "PID: $$\n"; ############################################## lightsquid-1.8/lightparser.pl-446-sub UnLockLSQ() { lightsquid-1.8/lightparser.pl:447: unlink $lockfilepath or die "can't remove lock file `$lockfilepath`\n"; lightsquid-1.8/lightparser.pl-448-} ############################################## lightsquid-1.8/tools/SiteAggregator/SiteAgregator.pl-163- my $ia=inet_aton($site); lightsquid-1.8/tools/SiteAggregator/SiteAgregator.pl:164: $ret=gethostbyaddr($ia, AF_INET); lightsquid-1.8/tools/SiteAggregator/SiteAgregator.pl-165- $ret=$site if ($ret eq ""); ############################################## lightsquid-1.8/.pc/debian-changes-1.8-1/lightsquid.cfg-79-#html template name lightsquid-1.8/.pc/debian-changes-1.8-1/lightsquid.cfg:80:#see template folder `tpl/$templatename/` lightsquid-1.8/.pc/debian-changes-1.8-1/lightsquid.cfg-81-$templatename ="base"; ############################################## lightsquid-1.8/lightsquid.cfg-79-#html template name lightsquid-1.8/lightsquid.cfg:80:#see template folder `tpl/$templatename/` lightsquid-1.8/lightsquid.cfg-81-$templatename ="base";