=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== webcamd-0.7.6+repack0/webcamd-154- print("webcamd run, pictures are taken every $inter secondes\n"); webcamd-0.7.6+repack0/webcamd:155: if (-e "$home/.webcamd/webcamd.stop") {`rm $home/.webcamd/webcamd.stop`}; #suppression si fichier de stop avant lancement webcamd-0.7.6+repack0/webcamd-156- open(PID,">$home/.webcamd/webcamd.pid"); #creation du fichier de pid (temoin du lancement du soft) ############################################## webcamd-0.7.6+repack0/webcamd-167- { webcamd-0.7.6+repack0/webcamd:168: system("mv $home/.webcamd/pre-webcam.jpg $home/.webcamd/webcam.jpg"); webcamd-0.7.6+repack0/webcamd-169- } ############################################## webcamd-0.7.6+repack0/webcamd-173- } webcamd-0.7.6+repack0/webcamd:174: system("rm -f $home/.webcamd/webcamd.stop"); #suppression du fichier d'arret en cas d'arret webcamd-0.7.6+repack0/webcamd-175- } ############################################## webcamd-0.7.6+repack0/webcamd-188- close(STOP); webcamd-0.7.6+repack0/webcamd:189: system("rm -f $home/.webcamd/webcamd.pid &"); #suppression du pid webcamd-0.7.6+repack0/webcamd-190- print("Shutting down webcamd...\n"); ############################################## webcamd-0.7.6+repack0/webcamd-212- { webcamd-0.7.6+repack0/webcamd:213: system("mv $home/.webcamd/pre-webcam.jpg $home/.webcamd/webcam.jpg"); webcamd-0.7.6+repack0/webcamd-214- } ############################################## webcamd-0.7.6+repack0/webcamd-266- { webcamd-0.7.6+repack0/webcamd:267: system("mv $home/.webcamd/index.html $www_path/index.html"); webcamd-0.7.6+repack0/webcamd-268- } ############################################## webcamd-0.7.6+repack0/webcamd-277- { webcamd-0.7.6+repack0/webcamd:278: system("/usr/bin/v4lctl -c /dev/$device snap jpeg $cam_res $home/.webcamd/pre-webcam.jpg&"); webcamd-0.7.6+repack0/webcamd-279- } ############################################## webcamd-0.7.6+repack0/webcamd-331- { webcamd-0.7.6+repack0/webcamd:332: system("mv $home/.webcamd/webcam.jpg $www_path/webcam.jpg"); webcamd-0.7.6+repack0/webcamd-333- }