Not from a star wars crossover unfortunately. This is absolute Batman, a Bruce Wayne who is just a city engineer not a billionaire so he makes all his gear from what he can find
It's notable how identifiably the gun on the page is drawn as a KSG. Outside of "gun focused" comics like The Punisher, comicbook guns have a habit of being wonky unidentifiable models.