Giter Site home page Giter Site logo

How to register a new device? about tiktok-api HOT 13 CLOSED

szdc avatar szdc commented on July 19, 2024 1
How to register a new device?

from tiktok-api.

Comments (13)

ch4kn avatar ch4kn commented on July 19, 2024 20

https://github.com/ch4kn/tiktok-device-register <= Tiktok Device Register

from tiktok-api.

szdc avatar szdc commented on July 19, 2024 9

The data sent in when registering a device is gzipped and then encrypted using libttEncrypt.so if someone wants to take this further.

from tiktok-api.

dixakman avatar dixakman commented on July 19, 2024 1

It's clear. But what parameters does he transmit? What are the key parameters?

from tiktok-api.

scrapewww avatar scrapewww commented on July 19, 2024

I'm also interested in knowing this. I'm having the same issue. When I provide new device details, I get prompted for captcha on every request however I do not know how to bypass the captcha because the error just says "captcha field empty" or something along those lines. If I go back to device details that have been registered within the app everything works fine. I noticed an API call the first time you open the app on a new device which registers the device and returns device id, iid, etc however it posts encrypted data to retrieve that and I can't figure out what that data is!

from tiktok-api.

dixakman avatar dixakman commented on July 19, 2024

Did anyone succeed?

from tiktok-api.

yaizudamashii avatar yaizudamashii commented on July 19, 2024

Has anyone succeeded this? I also found out that the POST body is encrypted using ttEncrypt, but has anyone gotten the binary of it? The string it encrypts is quite complex, but it is a stringified JSON object/array of various parameters. I haven't fully figured out the contents of the JSON yet.

from tiktok-api.

yaizudamashii avatar yaizudamashii commented on July 19, 2024

Ok I found the .so file in the apk. That apktool decompiler is great.

from tiktok-api.

Pilfer avatar Pilfer commented on July 19, 2024

@yaizudamashii @szdc Just a heads up, the function that encrypts the POST body looks likes a well-known encryption algorithm, but they committed the cardinal sin of rolling their own encryption by modifying it. On top of that, if you look at the JSON payload itself you'll find that they're using a native library to encode some of the values as well. It's not just one native encryption layer, but two. On top of that, the secondary encrypted value also contains hardware identifiers that are unique to your device and flags emulators. Eventually they're going to flag and disallow the methods everyone except me is using for the current cp/as/mas signing.

Jack, I shot you a follow on Twitter btw - username begins with "C". You should ping me your discord username, assuming you've got one.

from tiktok-api.

 avatar commented on July 19, 2024

Can Anyone Mention The Code Location Just Before The Device Id Being Encrypted ?

from tiktok-api.

jatankshirsagar avatar jatankshirsagar commented on July 19, 2024

I could identify until this point where the function calling device register is accepting 4 arguments

r3, r9, r2, r0 and out of which r2 - context

from tiktok-api.

NeuronButter avatar NeuronButter commented on July 19, 2024

https://github.com/ch4kn/tiktok-device-register <= Tiktok Device Register

Ok out of curiosity, I looked at that website, and quite literally I have no idea what it's for. I'm not gullible, it's 100% a scam, but I looked at the requests made by the site, and the site doesn't even get past CAPTCHA. I thought it might like send a username and password to a malicious server, but what's the point of that if it just never gets past CAPTCHA? Like for real, how much time did you spend on a hopeless website?

from tiktok-api.

DaAwesomeRazor avatar DaAwesomeRazor commented on July 19, 2024

https://github.com/ch4kn/tiktok-device-register <= Tiktok Device Register

Ok out of curiosity, I looked at that website, and quite literally I have no idea what it's for. I'm not gullible, it's 100% a scam, but I looked at the requests made by the site, and the site doesn't even get past CAPTCHA. I thought it might like send a username and password to a malicious server, but what's the point of that if it just never gets past CAPTCHA? Like for real, how much time did you spend on a hopeless website?

I tried it out, and you just gotta disable your adblocker

from tiktok-api.

szdc avatar szdc commented on July 19, 2024

Closing as this project is no longer maintained.

from tiktok-api.

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.