Member-only story
Introduction
Referring to the Critical vulnerability in Apache Log4j library, about which you can read in the link below will show a simple script with which we will be able to diagnose whether there is log4j on our system.
How check this ?
- Download script and run
##For Ubuntu
root@master:/home/ozyrys# wget https://gist.githubusercontent.com/spy86/5d701751f3177f612faa21ca46b53f54/raw/2572cf9975da912f7b45e66e6c3a4bb3ac7de245/check_for_ubuntu.sh
root@master:/home/ozyrys# chmod +x check_for_ubuntu.sh
root@master:/home/ozyrys# ./check_for_ubuntu.sh##For CentOS
root@master:/home/ozyrys# wget https://gist.githubusercontent.com/spy86/73f772de95b73cb4b77d7cca9abdd924/raw/71c98174de0b7cf90d30bf2ac4ddca351a4edf45/check_for_centos.sh
root@master:/home/ozyrys# chmod +x check_for_centos.sh
root@master:/home/ozyrys# ./check_for_centos.sh