I'm trying to find out what is the user agent of Samsung Galaxy S3.
I don't have the device so I can't test myself. The user agent is going to be recognized by my web server.
Mozilla/5.0 (Linux; U; Android 4.0.4; en-gb; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
What's My User Agent? is a great tool for figuring out what the User Agent of your current browser is. Just navigate to it in the browser of whatever device you want the UA for.
If you don't have the device you want to test, that site also has a section for Common User Agents. Once you figure out the UA you want to test, you can use the User Agent-Switcher for Chrome plug-in to have Chrome mimic that UA.
Full Disclosure: I don't work for or know the people who have created these tools, just figured I'd share some of the tools I use with the community : )
There's no such thing as the user agent for a specific device.
The user agent depends on the client (e.g. a web browser) being used to access the web server
The user agent also differs according to the running version of Android
You need to at least look for the user agent string for a specific browser (e.g. the default Android browser, or Chrome)
Also, apps in Android each run within their own VM, which is called 'Dalvik'. A Dalvik user agent string can be reported within an http header in some instances.
Related
Hi I am want try create application for windows platform on C++ and don't know which platform select Universal Windows Platform (UWP) or C++/Win32. I am don't have many experience on windows and want ask advice.
Now I am want describe want app should do:
I am want create app when where user can open web site on this application and if site blocked on user country, all traffic will be go throught proxy, but I am will need detect when user on this web site open for example player with movie and disable proxy for this traffic, will be need check iframe of content in website.
What platform select if my two main goal of app it's sent access to website throught proxy IF it need and SECOND it's check iFrame of webSite and disable proxy. Also I am need create fine GUI.
What are you think about that?
When a user interacts with an app that is delivered via a Citrix - what does the user see? Is it a full app with real Windows, or just an image like in RDP?
Thanks!
It's rendered similar to RDP but over the HDX (formerly ICA) protocol (vs the RDP protocol). Communication occurs on port 2598 by default (if using the Session Reliability feature) or 1494 (if that feature is disabled). The user is seeing a real app, but that app is running server side.
I have a question about windows authentication in other application like Google chrome.
I know about LDAP and I think my question should be something else.
Example: When I want to see my saved password in Google Chrome, it asked me my windows password.
1- How Google chrome is able to identify me? is it something available by windows, if yes that means I can use it even in any windows application.
(Considering this link Microsoft API should get the password and verify it but how can we use this API in our application?).
2- Is it secure from any kind of attack to password?
is there any one who can answer me in detail or give me the links?
Appreciate in advanced.
On Windows, this is CredUIPromptForWindowsCredentials. On Mac this is AuthorizationCopyRights. See src/chrome/browser/password_manager/‌password_manager_util_win.cc
This could conceivably be a vector for a program to phish the user's password if the user is unable to distinguish between a system credential prompt and an ordinary window. But the whole point of this is that your web browser is storing many website passwords, and rather leaving them exposed on disk they are protected at the OS level with the user's login credentials.
One way to see the effect of this is with the Mac build of Chromium (possibly Windows as well, but I have not tested), since the app is not codesigned. When you download a new version, you get a system prompt to confirm access to "Chromium Safe Storage". So not only is Chrome using its discretion to divulge stored passwords and reauthenticate the user, the operating system also makes a policy decision based on the app's signature.
Is there a way for a privileged Firefox OS app to detect if the WiFi is connected to a network? I am aware of https://developer.mozilla.org/en-US/docs/WebAPI/Settings but that API is only for certified apps. All I need to do is detect whether the phone is connected to a network or is not connected.
You need to use the Network Info API, which provides you with values about the bandwidth (Mb/s estimate) and if the current connection is metered (mobile data vs Wifi).
metered should be enough to tell if the user is on wifi. There is no need to read the Settings! This API is even accessible for web apps.
Check the window.navigator.onLine property
I am just curious - did anyone got Fiddler to work with Windows Phone 7 emulator (RTW build)? When I try working with Fiddler, I am getting a WebException when working with HttpWebRequest insances - NotFound, to be specific. WireShark works fine.
The problem I see here is that Fiddler acts as a proxy and the WP7 application I am using doesn't go through a proxy to pass the request, while WireShark works differently - it doesn't directly pass traffic through it.
There was a similar question here but in my case I would like to override the proxy settings so that the WP7 application will connect to http:/127.0.0.1:8888 as the proxy address. Since WP7 tools are based on Silverlight, is it possible to direct a HttpWebRequest to a proxy first?
EDIT: On this page (Fiddler documentation) it is stated that XDE (Windows Phone 7 emulator) should automatically pick up system proxy settings, but for some reason it seems like it doesn't.
As a temporary workaround for this, you can set Fiddler as a reverse proxy. The process is described here. I used the second option by creating a rule.
NOTE: You have to set the initial host (in the if statement) to the Fiddler proxy location (since the WP7 emulator can see the proxy address). The second URL is the address you want to redirect to.
It will now capture traffic from Windows Phone 7 emulator, although it will still skip some things (like downloaded images), so use this method for testing purposes only.
Here's the very simple solution that worked for me: Link