Coder Social home page Coder Social logo

Comments (9)

Eltion avatar Eltion commented on June 11, 2024 1

It's without the line. I think what is happening is that you're trying to patch an apk file where the resources.arsc is already compressed. You can try to install the apk without patching and if I'm correct it should not work.

image
In the picture above you can see that resources.arsc the method is STORE. It should be like this before and after patching.

from instagram-ssl-pinning-bypass.

Eltion avatar Eltion commented on June 11, 2024 1

Sorry maybe I was a bit confusing. What I'm asking is that you maybe can check the original APK file if resources.arsc is compressed or just stored. If it is compressed then it won't work with the change that I did.

from instagram-ssl-pinning-bypass.

Eltion avatar Eltion commented on June 11, 2024

Can you check my comment on the pull request: #3.
My idea was that for each file we will copy the compression method for the original apk. So if in the original apk the compression for resources.arsc is STORED it will be STORED also in the patched apk.

from instagram-ssl-pinning-bypass.

michelerenzullo avatar michelerenzullo commented on June 11, 2024

I cannot find your comment in the pull request?

Well I like that, this is the same idea that I used in my script, but as is written now it doesn't work.

You wanna do that? I think you have to copy and paste a duplicate of the original APK and update the archive overwriting the few patched files / inserting new files, without editing anything else, in this case I'm sure it will work because it works good for me since years without updating, I never encountered this bug.

I will show you how I would do that later.

from instagram-ssl-pinning-bypass.

Eltion avatar Eltion commented on June 11, 2024

Can you help me test if the release from README.md is working for you?

from instagram-ssl-pinning-bypass.

michelerenzullo avatar michelerenzullo commented on June 11, 2024

Yes, the release works, but the question is did you create it without or with the line about resources.arsc? Because when I run the script without that line it doesn't install
Could you double check? Thanks

from instagram-ssl-pinning-bypass.

michelerenzullo avatar michelerenzullo commented on June 11, 2024

Ok, sorry for the waste of time, basically I thought, for mistake, that the link in the README.md was to the "original"/"unpatched" version and I was using the previous one (the broken one that you removed, zipped with Deflate) as input for patch_apk.py, so the output was Deflated as well. I download the original apk from a mirror and it works fine. I close

Immagine 2022-06-25 174419

from instagram-ssl-pinning-bypass.

michelerenzullo avatar michelerenzullo commented on June 11, 2024

Sorry maybe I was a bit confusing. What I'm asking is that you maybe can check the original APK file if resources.arsc is compressed or just stored. If it is compressed then it won't work with the change that I did.

Yeah because you built the release the 22nd June, before the commit of 23rd June about "file.compress_type" and "apk_in.infolist()", I was using this version of 22nd June, patching an already patched apk(such a dumb).

The real solution was file.compress_type and was already on your repository.

from instagram-ssl-pinning-bypass.

Eltion avatar Eltion commented on June 11, 2024

No problem this was actually my fault I forgot to submit my review of your pull request where I explained why I switched it back. Thanks for all the help :)

from instagram-ssl-pinning-bypass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.