Wash and chop the octopus. Saute the onion in oil and boil the octopus in a pot for some time. Extinguish with wine and boil a little more. Then, add the ground tomatoes and pepper and boil well. Remove the octopus from the pot, add a little water and bring to a boil. Then add the kofto macaroni and cook until done. Serve on a platter with the octopus.