How to find the server address in an Android application

Asked

Viewed 495 times

1

Good night!

I have an app here, and I need to find the data of the server to which the entries are being sent. It’s mysql (url/phpmyadmin). The problem is I can’t find it anywhere. I got closer here:

e = function() {
        var t = XMLHttpRequest.prototype.open,
            n = XMLHttpRequest.prototype.send;
        XMLHttpRequest.prototype.open = function(n, i, e, o, r) {
            this._method = n, this._url = i, t.call(this, n, i, e, o, r)
        }, XMLHttpRequest.prototype.send = function(t) {
            function i() {
                if (4 == o.readyState) {
                    var t = (new Date).getTime(),
                        n = t - e,
                        i = {
                            method: r,
                            url: a,
                            latency: n.toString(),
                            httpStatusCode: o.status.toString(),
                            responseDataSize: o.responseText.length
                        };
                    mintBridge.logNetwork(i.method, i.url, i.latency, i.httpStatusCode, i.responseDataSize)
                }
            }
            var e, o = this,
                r = this._method,
                a = this._url;
            e = (new Date).getTime(), this.addEventListener("readystatechange", i, !1), n.call(this, t)
        }
    },

Can someone give me a light? Thank you! ;)

  • Is that a Cordova/Ionic/Onsen application or something, right? Can you debug in the browser? I think the answer you need is in this object i

  • Thanks. The App I downloaded from Play Store Console, I have the APK on my machine. How I "debug"?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.