"to get hosed" is slang for "to be taken advantage of" or "to be manipulated by someone for their own gain". It can also mean that you have had bad luck, but it usually means that someone else treated you poorly -- that you believed they were good, when they really were deceiving you.