Burp Unable To access proxy Server Error in Android - android

Hello guys I installed premium edition of burp few months ago.I can easily intercept the applicaton in web from my pc.But the problem arises when I tried to intercept apps from my Android device. I tried very hard and searchedc any possible solution in the web but nothing worked for me.I keep getting unable to access through proxy server error when I connect burp with my mobile and try to visit a Http site.Also can you tell me how to intercept request from apps like messenger , Facebook For Android etc ...

I think you basically have 2 problems I just answered.
You may be getting an error on your mobile because you have not added the certificate to the device. Easy way to install cert.
I use a program called NTLMaps to proxy a shared internet connection to Burp which routes the App Traffic through Burpsuite. Explained here.

Related

Unable to make local network calls using IP address on deployed react native app

My react-native android app uses the IP address of a smart device on the local network to communicate with it. This works perfectly in testing but now that I've launched the app for internal testing this call fails.
Ex call is: http://192.168.88.39:8080/version
This call works perfectly in development, but not on the deployed app. I was previously using a hostname to resolve the IP address of the device on the local network but realized this didn't work with Android, so I switched to using the IoT device's IP address to communicate with it.
But to my surprise that isn't working. I've also tried to setup a Charles proxy to intercept the requests but have been unable to do so successfully so I'm not sure what the exact response is from the http request.
But I know it doesn't resolve.
So firstly is this even possible to do? Want to make sure this is not prohibited?
You cannot access http urls in a production build. Check this question for possible solutions Android 8: Cleartext HTTP traffic not permitted

Openfire Server XMPP setup on windows 7

I want to build an Android application using XMPP protocol for sharing real-time data. For this, first of all, I have to setup XMPP Server and best server to use is Openfire. I tried to install this server on my Windows PC, but unable to setup correctly.
This is the download link https://www.igniterealtime.org/projects/openfire/ from where I have downloaded the Openfire.exe file. After Installation it opens a browser window with URL=http://localhost:9090/ but the page shows "This site can’t be reached localhost refused to connect. Search Google for localhost 9090 ERR_CONNECTION_REFUSED"
Can anyone help me to resolve this issue or suggest me the installation procedure? Also if you have any other suggestion to use another XMPP server kindly let me now. I want to transfer data in real-time from one Android device to another.
Thank you for reading my post and replying back.

Android login while working with mobile phone but working fine in emulator

I developed android app using this website.
http://www.coderzheaven.com/2012/04/22/create-simple-login-form-php-android-connect-php-android/
but i am able to login in emulator but when i am trying in my mobile it is not showing anythings. how to over come that.
I had the same problem. The problem might be due to Certificate signing at the time of connection or proxy settings or maybe IP or maybe something like KNOX agent that might stop connection. I started using jdbc and it worked for me. It is easier than php. This might help you JDBC connection in Android.

Proxy and SSL connections in android emulator

Would anyone know how to configure the emulator to make ssl connections via a proxy ?
I use the -http-proxy option when starting the emulator. I can access any website except those with https protocol.
Any idea ?
I've experienced similar problems with Android during a web project lately. The site works fine using ordinary HTTP from Android but when using HTTPS it works now and then. Some requests just fail and we get "Web page not found"-errors. The connections are sometimes very slow. After some further tests and investigation I found out that the problem was general for all HTTPS sites, not only for our site.
According to a bug report for Android others are reporting the same problem and Android has been hit by it since version 1.5:
http://code.google.com/p/android/issues/detail?id=3334
I removed the APN proxy in my HTC Desire, as stated in the bug report above, and then Android performed as expected on HTTPS sites. For our purpose we have made an exception for Android telephone so they are routed to the ordinary HTTP site instead.
In other words, it seems like Android has a general problem with proxies and that may be the cause of problem with the emulator. Vote on the bug, just follow the link above.
There are several possible reasons for that:
Can you access the HTTPS site with your real phone? If not, then probably the involved certificate is not considered as trusted from the app/webview. If you need to consider a certificate as trusted within your app, look at the following tutorial
Can you access HTTPS sites at all via your proxy from a webbrowser? Our enterprise proxy server does not allow HTTPS traffic (for whatever reason) at all. You could also sniff the traffic with Wireshark etc. to see if anything is sent back from the proxy or an error occurred.
What type of problem did you get when you try to connect to the website? Can you provide a stacktrace or LogCat output?

does anyone had success in posting from android emulator to GAE?

does anyone had success in POSTing from android emulator to GAE? I am trying and I am getting Unknown Host Exception.
Do I need to do some settings in emulator? Please help me. I am using HttpClient and HttpPost, and also set uses INTERNET permission.
I did post to GAE in an application I wrote about a year ago at the university, but didn't have any special problems. What do you mean exactly by posting to GAE? Posting to a webapp deployed on a publicly accessible GAE? Or behind authentication? Or locally on your development environment??
If you want to access GAE running locally on your development environment, you need to use this IP: "10.0.2.2" which represents your local machine, basically your webapp would then be at http://10.0.2.2:8080 (see my post here for more details about that)
Otherwise, if you have issues with Google Authentication from your mobile Android app to a GAE hosted application, it is always good to take a look at open source apps which do the same and see how they handle it. Here are two which came just to my mind..
http://code.google.com/p/chrometophone/
http://code.google.com/p/android2cloud/

Categories

Resources