epicyon/scripts/mitm

8 lines
162 B
Bash
Executable File

#!/bin/bash
journalctl -u epicyon | grep 'MITM:' > .mitm_events.txt
if [ ! -f .mitm_events.txt ]; then
echo 'No MITM events'
else
cat .mitm_events.txt
fi