This question already has an answer here:
It is clear to me that using the same password for different websites is a bad idea because if an attacker manages to get a hold of your password, then he can gain access to the other websites in which you are using the same password.
However, I was wondering if it would be safe to have the same base string in all passwords, then append more characters to the end which would make the password unique. For example, if I have the base string "p@ssw0rd" then on one website I would use the password "p@ssw0rdstring1" and on a different website I would use the password "p@ssw0rdstring2".
Is this method safe? if not, why? and which attacks is this method vulnerable to?