=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== apt-dater-host-1.0.1/README.md-26- apt-dater-host-1.0.1/README.md:27: Put `apt-dater-host` on the managed host (folder must be present in `$PATH` of `the-user`). apt-dater-host-1.0.1/README.md-28- apt-dater-host-1.0.1/README.md:29: Put `apt-dater-host.conf` to `$CFGFILE` (default is `/etc/apt-dater-host.conf`). apt-dater-host-1.0.1/README.md-30- ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-54-if (-r $CFGFILE) { apt-dater-host-1.0.1/dpkg/apt-dater-host:55: eval `cat "$CFGFILE"` ; apt-dater-host-1.0.1/dpkg/apt-dater-host-56- ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-121-sub do_refresh() { apt-dater-host-1.0.1/dpkg/apt-dater-host:122: if(system(($GETROOT ? $GETROOT : ()), $DPKGTOOL, 'update')) { apt-dater-host-1.0.1/dpkg/apt-dater-host-123- print "\nADPERR: Failed to execute '$GETROOT $DPKGTOOL update' ($?).\n"; ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-185- if(-r $UUIDFILE && -s $UUIDFILE) { apt-dater-host-1.0.1/dpkg/apt-dater-host:186: print "UUID: ", `head -n 1 "$UUIDFILE"`; apt-dater-host-1.0.1/dpkg/apt-dater-host-187- } ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-194- # add needrestart batch output apt-dater-host-1.0.1/dpkg/apt-dater-host:195: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART, '-b') if($NEEDRESTART); apt-dater-host-1.0.1/dpkg/apt-dater-host-196- ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-340- apt-dater-host-1.0.1/dpkg/apt-dater-host:341: system("$GETROOT $UpgradeCmd"); apt-dater-host-1.0.1/dpkg/apt-dater-host-342-} ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-344-sub do_install() { apt-dater-host-1.0.1/dpkg/apt-dater-host:345: system(($GETROOT ? $GETROOT : ()), $DPKGTOOL, 'install', @_); apt-dater-host-1.0.1/dpkg/apt-dater-host-346-} ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-361- if (-r $versignfile) { apt-dater-host-1.0.1/dpkg/apt-dater-host:362: unless(`cat $versignfile` =~ /^Ubuntu (\S+)-\S+ \S+$/) { apt-dater-host-1.0.1/dpkg/apt-dater-host-363- print "$infostr 2 $version\n"; ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-368- else { apt-dater-host-1.0.1/dpkg/apt-dater-host:369: my $vstr = `cat $verfile`; apt-dater-host-1.0.1/dpkg/apt-dater-host-370- unless($vstr =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/ || ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-385- apt-dater-host-1.0.1/dpkg/apt-dater-host:386: $reboot=1 unless (system("dpkg", "--compare-versions", $vers, "lt", $1) >> 8); apt-dater-host-1.0.1/dpkg/apt-dater-host-387- } ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-393-sub do_cleanup() { apt-dater-host-1.0.1/dpkg/apt-dater-host:394: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/dpkg/apt-dater-host-395- ############################################## apt-dater-host-1.0.1/dpkg/apt-dater-host-397- apt-dater-host-1.0.1/dpkg/apt-dater-host:398: system(($GETROOT ? $GETROOT : ()), $DPKGTOOL, 'clean'); apt-dater-host-1.0.1/dpkg/apt-dater-host-399-} ############################################## apt-dater-host-1.0.1/rpm/apt-dater-host-115- if(-r $UUIDFILE && -s $UUIDFILE) { apt-dater-host-1.0.1/rpm/apt-dater-host:116: print "UUID: ", `head -n 1 "$UUIDFILE"`; apt-dater-host-1.0.1/rpm/apt-dater-host-117- } ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-45-if (-r $CFGFILE) { apt-dater-host-1.0.1/rug/apt-dater-host:46: eval `cat "$CFGFILE"` ; apt-dater-host-1.0.1/rug/apt-dater-host-47- ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-84- &do_upgrade; apt-dater-host-1.0.1/rug/apt-dater-host:85: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/rug/apt-dater-host-86- } ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-93- &do_install(@ARGV); apt-dater-host-1.0.1/rug/apt-dater-host:94: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/rug/apt-dater-host-95- } ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-158- if(-r $UUIDFILE && -s $UUIDFILE) { apt-dater-host-1.0.1/rug/apt-dater-host:159: print "UUID: ", `head -n 1 "$UUIDFILE"`; apt-dater-host-1.0.1/rug/apt-dater-host-160- } ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-167- # add needrestart batch output apt-dater-host-1.0.1/rug/apt-dater-host:168: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART, '-b') if($NEEDRESTART); apt-dater-host-1.0.1/rug/apt-dater-host-169- ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-220-sub do_upgrade() { apt-dater-host-1.0.1/rug/apt-dater-host:221: system("$GETROOT rug update"); apt-dater-host-1.0.1/rug/apt-dater-host-222-} ############################################## apt-dater-host-1.0.1/rug/apt-dater-host-225- if($GETROOT) { apt-dater-host-1.0.1/rug/apt-dater-host:226: system($GETROOT, 'rug', 'install', @_); apt-dater-host-1.0.1/rug/apt-dater-host-227- } ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-48-if (-r $CFGFILE) { apt-dater-host-1.0.1/yum/apt-dater-host:49: eval `cat "$CFGFILE"` ; apt-dater-host-1.0.1/yum/apt-dater-host-50- ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-189- if(-r $UUIDFILE && -s $UUIDFILE) { apt-dater-host-1.0.1/yum/apt-dater-host:190: print "UUID: ", `head -n 1 "$UUIDFILE"`; apt-dater-host-1.0.1/yum/apt-dater-host-191- } ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-198- # add needrestart batch output apt-dater-host-1.0.1/yum/apt-dater-host:199: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART, '-b') if($NEEDRESTART); apt-dater-host-1.0.1/yum/apt-dater-host-200- ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-242-sub do_upgrade() { apt-dater-host-1.0.1/yum/apt-dater-host:243: system("$GETROOT yum $YES_OPT update"); apt-dater-host-1.0.1/yum/apt-dater-host-244-} ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-247- if($GETROOT) { apt-dater-host-1.0.1/yum/apt-dater-host:248: system($GETROOT, 'yum', 'install', @_); apt-dater-host-1.0.1/yum/apt-dater-host-249- } ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-348-sub do_cleanup() { apt-dater-host-1.0.1/yum/apt-dater-host:349: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/yum/apt-dater-host-350- ############################################## apt-dater-host-1.0.1/yum/apt-dater-host-352- apt-dater-host-1.0.1/yum/apt-dater-host:353: system("$GETROOT yum clean packages"); apt-dater-host-1.0.1/yum/apt-dater-host-354-} ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-46-if (-r $CFGFILE) { apt-dater-host-1.0.1/zypper/apt-dater-host:47: eval `cat "$CFGFILE"` ; apt-dater-host-1.0.1/zypper/apt-dater-host-48- ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-91- &do_upgrade; apt-dater-host-1.0.1/zypper/apt-dater-host:92: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/zypper/apt-dater-host-93- } ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-100- &do_install(@ARGV); apt-dater-host-1.0.1/zypper/apt-dater-host:101: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/zypper/apt-dater-host-102- } ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-112-sub do_refresh() { apt-dater-host-1.0.1/zypper/apt-dater-host:113: if(system("$GETROOT zypper refresh")) { apt-dater-host-1.0.1/zypper/apt-dater-host-114- print "\nADPERR: Failed to execute '$GETROOT zypper refresh' ($?).\n"; ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-172- if(-r $UUIDFILE && -s $UUIDFILE) { apt-dater-host-1.0.1/zypper/apt-dater-host:173: print "UUID: ", `head -n 1 "$UUIDFILE"`; apt-dater-host-1.0.1/zypper/apt-dater-host-174- } ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-181- # add needrestart batch output apt-dater-host-1.0.1/zypper/apt-dater-host:182: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART, '-b') if($NEEDRESTART); apt-dater-host-1.0.1/zypper/apt-dater-host-183- ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-234-sub do_upgrade() { apt-dater-host-1.0.1/zypper/apt-dater-host:235: system("$GETROOT zypper -r update"); apt-dater-host-1.0.1/zypper/apt-dater-host-236-} ############################################## apt-dater-host-1.0.1/zypper/apt-dater-host-239- if($GETROOT) { apt-dater-host-1.0.1/zypper/apt-dater-host:240: system($GETROOT, 'zypper', '-r', 'install', @_); apt-dater-host-1.0.1/zypper/apt-dater-host-241- } ############################################## apt-dater-host-1.0.1/debian/patches/01-jessie-kernel-detection.diff-8- else { apt-dater-host-1.0.1/debian/patches/01-jessie-kernel-detection.diff:9: my $vstr = `cat $verfile`; apt-dater-host-1.0.1/debian/patches/01-jessie-kernel-detection.diff-10- unless($vstr =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/ || ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-54-if (-r $CFGFILE) { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:55: eval `cat "$CFGFILE"` ; apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-56- ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-121-sub do_refresh() { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:122: if(system(($GETROOT ? $GETROOT : ()), $DPKGTOOL, 'update')) { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-123- print "\nADPERR: Failed to execute '$GETROOT $DPKGTOOL update' ($?).\n"; ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-185- if(-r $UUIDFILE && -s $UUIDFILE) { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:186: print "UUID: ", `head -n 1 "$UUIDFILE"`; apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-187- } ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-194- # add needrestart batch output apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:195: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART, '-b') if($NEEDRESTART); apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-196- ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-340- apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:341: system("$GETROOT $UpgradeCmd"); apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-342-} ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-344-sub do_install() { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:345: system(($GETROOT ? $GETROOT : ()), $DPKGTOOL, 'install', @_); apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-346-} ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-361- if (-r $versignfile) { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:362: unless(`cat $versignfile` =~ /^Ubuntu (\S+)-\S+ \S+$/) { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-363- print "$infostr 2 $version\n"; ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-368- else { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:369: my $vstr = `cat $verfile`; apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-370- unless($vstr =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/ || ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-385- apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:386: $reboot=1 unless (system("dpkg", "--compare-versions", $vers, "lt", $1) >> 8); apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-387- } ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-393-sub do_cleanup() { apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:394: system(($GETROOT ? $GETROOT : ()), $NEEDRESTART) if($RUNNEEDREST); apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-395- ############################################## apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-397- apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host:398: system(($GETROOT ? $GETROOT : ()), $DPKGTOOL, 'clean'); apt-dater-host-1.0.1/.pc/01-jessie-kernel-detection.diff/dpkg/apt-dater-host-399-}