looks like a really bad case of Bumble, and his toenails probably need trimmed.
you should soak the foot to soften the scab, then take off the scab and carefully squeeze, like you're popping a big zit. that's basically what bumble foot is, it's an infection caused by dirt getting into an injury and causing a small infection.