Giter VIP home page Giter VIP logo

douyin_device_register's Issues

Update and rebuild jar

Hello!
Thank you for device register example, it's was very useful for me!
But now i want modify TTEncrypt class, and rebuild jar file, how can i do this?

no unicorn_java

Exception in thread "main" java.lang.UnsatisfiedLinkError: no unicorn_java in java.library.path\r\n\tat java.lang.ClassLoader.loadLibrary(Unknown Source)\r\n\tat java.lang.Runtime.loadLibrary0(Unknown Source)\r\n\tat java.lang.System.loadLibrary(Unknown Source)\r\n\tat unicorn.Unicorn.(Unicorn.java:76)\r\n\tat cn.banny.unidbg.AbstractEmulator.(AbstractEmulator.java:66)\r\n\tat cn.banny.unidbg.arm.AbstractARMEmulator.(AbstractARMEmulator.java:48)\r\n\tat cn.banny.unidbg.linux.android.AndroidARMEmulator.(AndroidARMEmulator.java:38)\r\n\tat com.bytedance.frameworks.core.encrypt.TTEncrypt.(TTEncrypt.java:43)\r\n\tat com.bytedance.frameworks.core.encrypt.TTEncrypt.main(TTEncrypt.java:65)

register problem

Traceback (most recent call last):
File "register.py", line 39, in
stdout,stderr = subprocess.Popen(command,stdout=subprocess.PIPE,stderr=subprocess.PIPE).communicate()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 756, in init
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1499, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'java -jar -Djna.library.path=nativate/prebuilt/win64 unidbg.jar 1579423364487 734900191375902 njn69cif9784kma3 31:69:36:a4:69:12': 'java -jar -Djna.library.path=nativate/prebuilt/win64 unidbg.jar 1579423364487 734900191375902 njn69cif9784kma3 31:69:36:a4:69:12'

unidbg.jar 输出为空

Traceback (most recent call last): File "douyin_device_register/register.py", line 63, in <module> hex_str = re.search(r'hex=([\s\S]*?)\nsize', stdout.decode()).group(1) AttributeError: 'NoneType' object has no attribute 'group'

请问unidbg.jar 代码是不是不在这个项目里

Pairs of device_id and iid don't work

At the moment pairs doents work for tiktok I think it's all about the template of device. Does anyone know how this can be changed? I just don't understand where exactly the request body is encrypted e.g. "( { fingerprint = ""; header = { access = WIFI; aid = 1128; "app_language" = zh; "app_name" = aweme; "app_region" = RU; "app_version" = "8.7.1"; carrier = "\U4e2d\U56fd\U79fb\U52a8"; channel = AppStore; custom = { "app_language" = zh; "app_region" = CN; "build_number" = 87100; "earphone_status" = on; }; "device_id" = ; "device_model" = "iPhone X"; "display_name" = "\U6296\U97f3\U77ed\U89c6\U9891"; idfa = "E3D93D3-U747-R394-E2033-HF383J3984JE"; "install_id" = ; "is_jailbroken" = 0; "is_upgrade_user" = 1; language = zh; mc = "00:00:00:00:00:00"; "mcc_mnc" = ""; openudid = 9234923948d9392934dkk3939935d93919r3a3s3; os = iOS; "os_version" = "12.1"; package = "com.ss.iphone.ugc.Aweme"; region = CN; resolution = "1024*768"; "sdk_version" = 0011; timezone = 1; "tz_name" = "Asia/Shanghai"; "tz_offset" = 99000; "user_agent" = "Aweme 8.7.1 rv:87100 (iPhone; iPhone OS 12.1; zh_CN) Cronet"; "vendor_id" = "6J3DJD34-3DA4-R3KD-DS33-739394839384"; }; "magic_tag" = "ss_app_log"; } "
Or does anyone know how to update something like this in the jar archive. Thank you.

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.