While in the course of executing a search warrant, a peace officer may make photographs, lift fingerprints, seize things whether or not described in the warrant that may constitute evidence tending to prove the commission of any offense, and perform all other acts pursuant to his duties.