Hammering attechment with cap