Pict, this set of scripts is designed to collect a variety of data from an endpoint thought to be infected,…