Giter VIP home page Giter VIP logo

Comments (8)

ilya-kozyr avatar ilya-kozyr commented on June 1, 2024 1

This might be the issue. Anyway, I pushed changes with converting path object to string. Try.

from android-ssl-pinning-bypass.

ilya-kozyr avatar ilya-kozyr commented on June 1, 2024

Hey!

@minanagehsalalma can you post the entire console output?

Plus try to update Python to version 3.9 or above.

from android-ssl-pinning-bypass.

minanagehsalalma avatar minanagehsalalma commented on June 1, 2024

@ilya-kozyr it took a lot of time to load and i deleted all the files sorry :9

The test was done on The Reddit APP apk since it has ssl pinning like the rest of the social apps

from android-ssl-pinning-bypass.

cturan avatar cturan commented on June 1, 2024

Hi, same error on windows 11

Traceback (most recent call last):
  File "apk-rebuild.py", line 485, in <module>
    main()
  File "apk-rebuild.py", line 393, in main
    rebuild_single_apk(source_file.full_path, output_files.full_path)
  File "apk-rebuild.py", line 227, in rebuild_single_apk
    subprocess.run(command, stdout=sys.stdout, stderr=sys.stderr)
  File "C:\Users\alfa\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 453, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\alfa\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 756, in __init__
    restore_signals, start_new_session)
  File "C:\Users\alfa\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1100, in _execute_child
    args = list2cmdline(args)
  File "C:\Users\alfa\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 511, in list2cmdline
    needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: argument of type 'WindowsPath' is not iterable

from android-ssl-pinning-bypass.

cturan avatar cturan commented on June 1, 2024

this is happened because in command arrays we have to cast WindowsPath to string.

For example.

['java', '-jar', WindowsPath('C:/Users/alfa/AppData/Roaming/apk-rebuild/apktool_2.6.1.jar'), 'decode', WindowsPath('C:/Users/alfa/Desktop/android-ssl-pinning-bypass-master/target.apk'), '--output', WindowsPath('C:/Users/alfa/Desktop/android-ssl-pinning-bypass-master/target.apk-decompiled')]

from android-ssl-pinning-bypass.

ilya-kozyr avatar ilya-kozyr commented on June 1, 2024

Hey!
@cturan what python version are you using? the script works for me on Windows 10 and python 3.10.6.

from android-ssl-pinning-bypass.

cturan avatar cturan commented on June 1, 2024

Hey! @cturan what python version are you using? the script works for me on Windows 10 and python 3.10.6.

I have multiple version installed on my system but look like script started by python 3.7.0

from android-ssl-pinning-bypass.

cturan avatar cturan commented on June 1, 2024

This might be the issue. Anyway, I pushed changes with converting path object to string. Try.

The latest version works just fine, thanks.

from android-ssl-pinning-bypass.

Related Issues (7)

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.