Place fresh herbs, salt, shallot, and garlic in food processor and pulse several times, scrapping down the sides of the bowl, until finely chopped. Add the vinegar and process for a few seconds. With the machine running, slowly add the oil. Stir in the dried oregano and red pepper flakes.