hydra -l devteam -P Desktop/pentest/rockyou.txt 0.0.0.0 -s 1332 http-post-form "/:username=^USER^&password=^PASS^:F=Invalid"
let's make this clear since it might be confusing for newbies or those who have never used hydra before.
-l denotes username here.
-P denotes the location of the wordlist with the passwords
0.0.0.0 is the host address
-s denotes the target port.
http-post-form is used to specify that this is a http-post-form.
"/:username=^USER^&password=^PASS^ <-- These are the post parameters which are being bruteforced.
F=Invalid <-- This parameter is used to filter out invalid logins.