DLL Injectors are not illegal to use if you are using them on your own systems, servers, network, code or PC. However, it is illegal to use such tools on systems or software you don't have written permission to do so on.