The two black boxes from the Ukrainian airliner that crashed outside the capital Tehran were found on Wednesday, Iranian state television reported.