def run_and_analyze(self, exec_time, capture_pcap=True):
        """Runs targeted binary and monitors through
        Systemtap .ko module.

        :param exec_time: Time of execution.
        :param capture_pcap: Run tcpdump and capture pcap.
        """
        log.debug('Starting analysis module and target binary.')

        self.send_command('tcpdump -i eth0 -w /stap/capture.pcap &')

        time.sleep(1)

        command = (
            f'staprun -c /stap/lisa.sh '
            '/stap/lisa.ko > /stap/behav.out &'
        )
        self.send_command(command)

        # execution time
        time.sleep(3 + exec_time)
Runs targeted binary and monitors through
        Systemtap .ko module.

        :param exec_time: Time of execution.
        :param capture_pcap: Run tcpdump and capture pcap.
        
lisa/core/qemu_guest.py