отвали is OK to use among friends. it's a mild form of 'f..k off'
(variants are вали, проваливай, отстань - all basically mean 'shove off')

there is also a strange euphemistic expression иди в...