Cybersecurity Ops with bash - Chapter 8 Solutions
- Cybersecurity Ops with bash
- Apr 1, 2019
- 1 min read
Below are selected solutions for the Chapter 8 workshop questions from Cybersecurity Ops with bash.
Question 4
Modify wintail.sh to allow the user to specify the Windows log to be monitored by passing in a command-line argument.
Answer
The first line of code in wintail.sh identifies the Application log as the one that will be monitored.
The first line can be replace with the following:
This will use the value of the first argument passed to the script as the log to monitor. If no argument is provided it will default to Application.
Discover premium apps without limits — only on Bagas31.
Enjoy free daily downloads of premium software with Sigma4PC.
Ativar o Windows de forma prática é possível com o kmspico Ativador. O kmspico Ativador permite o desbloqueio total do sistema operacional. Usar o kmspico Ativador é seguro, rápido e não requer conhecimento técnico. Baixando o kmspico Ativador em nosso site, você tem a melhor versão disponível. O kmspico Ativador é compatível com todas as versões mais usadas do Windows. O processo de ativação com o kmspico Ativador é direto e eficaz. Com o kmspico Ativador, você elimina todas as notificações de sistema não original. O kmspico Ativador também ativa diferentes versões do Microsoft Office. Use o kmspico Ativador quantas vezes quiser, sem limitações. Ao instalar o kmspico Ativador, sua máquina fica mais funcional. Milhares de usuários recomendam o uso do kmspico Ativador. Não perca tempo: ative…