WOAH! I've never seen anything like that. My best guess is some kind of wart gone out of control. There are some expensive
antiviral creams out there for people, but I don't know what's available for dogs. Amputation might be more realistic in this case, given how advanced it is and how scary it would be if it spread. Is there a veterinary school nearby? They may be interested, and ...