From what I've seen most 'sploits etc., are written in either perl or C/C++

If the first line is an include file it's C/C++, if it's a path to an interperetor it's gunna perl.