vulnerability check on Ubuntu 18.04 Bash Shell Script

后端 未结 0 1557
遥遥无期
遥遥无期 2021-02-19 09:17

MY Code

vuln=0 # initialize FLAG variable

test -f /etc/shadow # Check exist /etc/shadow
if [ $? == 1 ]
then
    vuln=1 # Not exist /etc/shadow File -> FLAG ON         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题