cat-o'-nine-tails
noun
[ katəˈnʌɪnteɪlz ]
• a rope whip with nine knotted cords, formerly used (especially at sea) to flog offenders.
Origin:
late 17th century: alteration of cat of nine tails, possibly with reference to it ‘scratching’ a person's back.