Denis 1474 Posted March 3, 2014 Share Posted March 3, 2014 Tools needed: http://mh-nexus.de/en/hxd/ I have seen that many people are using the python file extractor to steal from other people their work.I don't think it's nice so I found one fix. The main function that executes the python injector is PyRun_SimpleFile, PyRun_SimpleString. We open at HxD the python22.dll and we change the 2 functions that I said. If you want to protect the python22.dll from read you can try to pack it with mpress.(Untested but I think it will work.) After doing that, you can add also a md5 check to the python22.dll because someone maybe try to change the python22.dll with another one where the functions are not modified. Regards. 1 1 15 Link to comment Share on other sites More sharing options...
Aveline™ 554 Posted March 3, 2014 Share Posted March 3, 2014 Thx for topic. Regards. Plain logic saves lives. Link to comment Share on other sites More sharing options...
Padrio 990 Posted March 4, 2014 Share Posted March 4, 2014 Thanks mate Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1129 Posted March 4, 2014 Former Staff Share Posted March 4, 2014 I think the new bin you selfcompile (or the 40250 test client) is safe from py injection. I tried to inject Ingame Map Object editor to it and it didnt work. The client crashed imidietly Link to comment Share on other sites More sharing options...
Padrio 990 Posted March 10, 2014 Share Posted March 10, 2014 I think the new bin you selfcompile (or the 40250 test client) is safe from py injection. I tried to inject Ingame Map Object editor to it and it didnt work. The client crashed imidietly Yea same here. Link to comment Share on other sites More sharing options...
Saddler 681 Posted March 10, 2014 Share Posted March 10, 2014 I think the new bin you selfcompile (or the 40250 test client) is safe from py injection. I tried to inject Ingame Map Object editor to it and it didnt work. The client crashed imidietly Yea same here. Link to comment Share on other sites More sharing options...
cBaraN 109 Posted April 13, 2014 Share Posted April 13, 2014 Thanks my friend... Link to comment Share on other sites More sharing options...
Premium Necro 79 Posted July 16, 2014 Premium Share Posted July 16, 2014 Hi i look on your topic with protection python22.dll againts injections but i dont know which program do you mean this md5 check i find on internet someone like md5 check but it is simple program for showing just same the pograms and i need somthing implement to the exe file. Thanks for your answer. Link to comment Share on other sites More sharing options...
Denis 1474 Posted July 17, 2014 Author Share Posted July 17, 2014 Do it with python import hashlib print hashlib.md5("filename.exe").hexdigest() Link to comment Share on other sites More sharing options...
isaacboy2000 0 Posted March 5, 2015 Share Posted March 5, 2015 so do i just add the code PyRun_SimpleFile, PyRun_SimpleString. inside my python22.dll? Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19705 Posted March 5, 2015 Honorable Member Share Posted March 5, 2015 No, you have to rename or fill those strings with 0x00's. So PyRun_SimpleString in hex: 50 79 52 75 6E 5F 53 69 6D 70 6C 65 53 74 72 69 6E 67 Replace with this: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 And do same with PyRun_SimpleFile too. 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts