Redirects in URL — link juice or not?

Guys, I’m wondering. 
If you have a URL with a redirect, e.g.
hxxp://www.bovec.net/redirect.php?link=instafollowers.wtf&un=xxx@gmail.com&from=bovec

or the (old) phpinfo exploits, how could that possibly make google count this as a link?
And if I add a tier to it, bovec.net would be getting the link juice, not instafollowers.wtf?
Or am I wrong? 
I am seriously confused.