I apologize in advance for the possibly vulgar language, but I am asking purely from an academic perspective. My understanding is that both クソ and しまった translate roughly to the English "damn" when ...
There are several situations in which one of these words (phrases?) should be used but there's not usually a 1:1 mapping between any two languages. Get somebody's permission. English: "excuse me", ...