As a student of computer science, I am now learning to work with command line. I need to use brute force to login to a website, knowing the username and that the password is an integer in a certain range. This is what I have so far but it doesn't seem to work.
for i in {2000..3000}; do curl http://admin:$i@mywebsite.com/link; done
How can I proceed?