Bash while loop input (stdin reading from while-input) fix

while read line <&3; do echo “==== $line ====”; yes y | sqlmap -u http://$line/ –crawl=1; read -p press\ enter; done 3< webservers.ip

Using input 3 to read your list, leaving stdin untouched.