Coder Social home page Coder Social logo

instagram-unpinner's People

Contributors

equifox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

instagram-unpinner's Issues

Network error after running Instagram-Unpinner

Targeting Instagram apk ver 27.0.0.7.97 on ARM, with successful output as show below

> python .\IG_Unpinner.py .\com.instagram.android.apk

********************************************
**           Decoding APK file            **
********************************************
Running: java -jar C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/Tools/apktool.jar d .\com.instagram.android.apk -o C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/com.instagram.android -f
I: Using Apktool 2.3.0 on com.instagram.android.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Admin\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling assets/java.com.facebook.exoplayer.common/java.com.facebook.exoplayer.common2.dex...
I: Baksmaling assets/java.com.instagram.business.charts/java.com.instagram.business.charts2.dex...
I: Baksmaling assets/java.com.instagram.business.instantexperiences/java.com.instagram.business.instantexperiences2.dex...
I: Baksmaling assets/java.com.instagram.debug.devoptions/java.com.instagram.debug.devoptions2.dex...
I: Baksmaling assets/java.com.instagram.exoplayer.analytics/java.com.instagram.exoplayer.analytics2.dex...
I: Baksmaling assets/java.com.instagram.exoplayer.service/java.com.instagram.exoplayer.service2.dex...
I: Baksmaling assets/java.com.instagram.gpslocation.impl/java.com.instagram.gpslocation.impl2.dex...
I: Baksmaling assets/java.com.instagram.location.impl/java.com.instagram.location.impl2.dex...
I: Baksmaling assets/java.com.instagram.nux.deviceverification.impl/java.com.instagram.nux.deviceverification.impl2.dex...
I: Baksmaling assets/libraries.fbcore.src.main.java.com.facebook.common.executors/libraries.fbcore.src.main.java.com.facebook.common.executors2.dex...
I: Baksmaling assets/third.party.java.google.play.services.11.0.2.play.services.base.jar/third.party.java.google.play.services.11.0.2.play.services.base.jar2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
APK Decoded !
======> Instagram 27.0.0.7.97 (84433655) <======

********************************************
**         Applying Modifications         **
********************************************
 ==> Prevented Connection Dropping !
 ==> Disabled SSL Session Validation !
 ==> Prevented Connection Dropping !
 ==> Disabled ZeroProtocol Policy !
 ==> Authorized Any Certificate !
 ==> Prevented Keystore Initialization !
 ==> Disabled Native OpenSSL Verification !
All Patches Applied !

********************************************
**             Rebuilding APK             **
********************************************
Repackaging...
Running: java -jar C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/Tools/apktool.jar b C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/com.instagram.android -o C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/com.instagram.android-UNPINNED.apk
I: Using Apktool 2.3.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_assets folder into assets.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs... (/lib)
I: Building apk file...
I: Copying unknown files/dir...
Signing...
Running: java -jar "C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/Tools/apksigner.jar" sign --ks "C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/Tools/UnpinnerKey.jks" --ks-pass pass:Hannah123 --key-pass pass:Hannah123 "C:\Users\Admin\Downloads\Instagram-Unpinner-master\Instagram-Unpinner-master\IG_Unpinner/com.instagram.android-UNPINNED.apk"
Completed !

There's no traffic to be found in mitmproxy, and no connections attempts are made from the app.
The app shows a network error upon attempting login or any other interaction with the API.

TypeError in IG_Unpinner. IG ARM ver 27.0.0.7.97

Traceback (most recent call last):
  File ".\IG_Unpinner.py", line 311, in <module>
    main()
  File ".\IG_Unpinner.py", line 295, in main
    if apply_patches():
  File ".\IG_Unpinner.py", line 252, in apply_patches
    if native_ssl_verify_patch(work_dir):
  File ".\IG_Unpinner.py", line 209, in native_ssl_verify_patch
    return arm32_ssl_verify_patch(project_folder)
  File ".\IG_Unpinner.py", line 176, in arm32_ssl_verify_patch
    method_offset = hex_string.find("c0f8c8100ab1c0f8cc207047")
TypeError: a bytes-like object is required, not 'str'

Latest version of Instagram breaks unpinner

Hi,

Trying to unpin the latest version of the Instagram APK (v42-0-0-8-95), but there seems to be a problem when the script gets to the native_ssl_verify_patch function, specifically that the method_offset comes back as -1. I'm not sure if this is related to a new verson of libliger.so being used.

Really appreciate the work on this repo, its extremely useful to me so I hope this change can get patched in!
Mike

failed to install [INSTALL_PARSE_FAILED_NO_CERTIFICATES: ...]

APK failing to install, ARM ver 27.0.0.7.97.
Error:

adb install .\com.instagram.android-UNPINNED.apk
adb: failed to install .\com.instagram.android-UNPINNED.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1311446584.tmp/base.apk: Attempt to get length of null array]

Any idea what is throwing this error and how to fix it?

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.