Gunmen attacked a ceremony in the Afghan capital Kabul on Friday where a top Afghan political leader, Abdullah Abdullah, was present but escaped unharmed.