Jump to content

How To Protect your Client against Python Injectors


Recommended Posts

Tools needed:

Hidden Content

    Give reaction to this post to see the hidden content.

 
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.

  • Love 13
  • Good 1
Link to comment

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

 

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
  • 1 month later...
  • 3 months later...
  • VIP

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
  • 7 months later...
  • Honorable Member

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.

  • Love 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.