/CVE-2021-3156

CVE-2021-3156

Primary LanguageShell

Exploit CVE-2021-3156

Executing:

$ git clone https://github.com/RodricBr/CVE-2021-3156
$ cd CVE-2021-3156/
$ chmod u+x programa.sh
$ ./programa.sh

One-Liner:

AA=$(sudo --version | tr '[:space:]' ','| tr -d '.'  | cut -d ',' -f3 | awk '{print $0}'); [[ "$AA" -lt 1828 ]] && echo -e "Exploitável\nCVE-2021-3156"; [[ "$AA" -lt 1827 ]] && echo -e "Não é Exploitável!";