You can also make oil using solvents like ethanol, isopropanol or butane.
Problem is, if hash is bad enough to not be good to smoke, then it has been adulterated, or it wouldn't be brown & stick together. You have some soapbar. You can't really do anything with it, you don't know what's in that shit or how to avoid some nasty stuff ending up in your extraction, if it doesn't get you very stoned then you know it's not just hash. Take that useless shit back, beat your dealer up with it for trying to rip you off & poison you, that is all it's good for, if you use enough violence hopefully they'll stop selling it & it'll improve everybody else's health & safety.
Stay away from synthetic cannabinoids & bad hash.