Tuesday, June 14, 2016

Windows – Capture And Analyze Mobile Device Network Traffic

Introduction

You can collect a lot of useful information about an application’s backend services by observing the network connections it makes. For example, you can find out whether data is being sent to the back-end service securely over TLS or is sent as clear text.
It is relatively easy to monitor network traffic on a PC or a laptop using a network interface sniffer but for a mobile device it can get a little tricky.
The article explains the steps to capture network traffic of a mobile device using Windows 7 (and above) by creating a rogue WiFi access point .  We then use existing free tools on the PC to analyze the captured packets.

Step 1: Configure A WiFi HotSpot (access point)

Windows 7 (and above) allows setting up an access point using the “Microsoft Virtual WiFi Miniport Adapter”. However I found it much easier to set up the access point using a third party software called mHotspot  which uses the Microsoft Virtual WiFi Miniport Adapter underneath but greatly simplifies the setup process.
  • Download and install mHotspot from here.
  • Launch mHotspot.
  • Enter the access point name in the “Hotspot Name” field.
  • Enter a “Password” value.  This value will be the password  a device will need when connecting to this access point.
  • Select an “Internet Source”. If you are connected using a cable select “Local Area Network”. If you are on a WiFi network, select “Wireless Network Connection”.
  • Click on the “Start HotSpot” button.

Create an access point using mHotspot

Step 2: Connect Device

Connect your device (iPad, Android phone, etc) to the WiFi access point as you would connect to any regular wireless network.  The password required to connect would be the same as specified in step 1.

Step 3: Launch WireShark

By creating an access point, we are asking the device to connect to the PC and then the PC in turn routes the traffic to the internet.  Therefore, by capturing the internet traffic on the PC,  we can observe the connections the mobile device makes.
What we want to do here is to make sure we *only* capture the traffic from the mobile device and not every internet packet on the wire including  packets originating from the PC itself.
  • Goto Start -> Control Panel  -> Network And Sharing Center -> Change Adapter Settings
  • Right click the connection that says “Microsoft Virtual WiFi Miniport Adapter”  and click “Properties”.  It will also have the name of the access point that you created above.

  • Select “Internet Protocol Version 4” (or Version 6 if you use IPv6) and click the “Properties” button.  Note the IP address of the interface.

  • Launch WireShark.  You can download a free copy from here.
  • In WireShark, go to Menu -> Capture -> Interfaces and select the interface with the same IP address that you noted for the virtual  WiFi miniport interface above. Make sure to deselect all other interfaces in the dialog.

  • Click the Start button to start capturing traffic.   Wireshark will now capture  all network traffic for the rogue access point only.

  • Once you are done with the capture, quit WireShark and save the captured packets as a *.pcap file.

Step 4:  Analyze Traffic Using Network Miner

  • Launch Network Miner.  A free version is available here.
  • Network Miner takes the captured data saved from WireShark and helps in easy analysis.  You can also analyze the packets using WireShark.

Monday, June 13, 2016

how to sync Facebook birthdays with Google Calendar

1) Log in to your Facebook account and click on ‘Events’ under the profile picture of left sidebar.

2) Next page in the bottom right corner you can see two links ‘upcoming events’ and ‘birthdays’. Now right click on birthdays and select ‘copy link address’
Note: –  Don’t share your link publicly otherwise anyone can use it.
3) you copied the Facebook link, it’s time to sync Facebook birthdays with Google Calendar. Now openwww.google.com/calendar and log in with your Google account.
4) Click on the drop down menu of ‘other calendar’ located at the left side and click on ‘Add by URL’.
5) A pop-up window appears to paste the link you copied from Facebook and select ‘Add Calendar’ button. It starts importing your Facebook birthdays, and you get the message ‘Import Successfully’.
6) Now you can see a newly added calendar named ‘Friends Birthday’s’ under the upcoming events. You can see all your friends birthdays on your calendar in a few seconds.
7) That’s it you have successfully synced Facebook birthdays with Google Calendar. You can also set up the notifications to get alerted a day before friends birthday and never forget anyone’s birthday anymore.
8) After sync Facebook birthdays with Google calendar download Google Calendar app from play store and access your events from android mobile.
This is the complete step by step process of how to sync Facebook birthdays with Google Calendar. Share with your friends and comment below if you have any questions.

Friday, June 10, 2016

Remove banner ads in Skype for Windows

For Skype 6.x

Step 1: Head to the Control Panel and click on Internet Options. This settings area may be hidden under Network and Sharing Centre if you don't see a direct shortcut for it.

Step 2: 
Click on the Security tab and select the Restricted Sites icon.

Step 3: 
Press the Sites button and type https://apps.skype.com in the text box, then press Add and restart Skype.

For Skype 7.x

If you have updated Skype and the above options are not removing ads, you may need to perform a few extra steps to finally rid of the advertisements in your client. Here's how:

Step 1: Make sure your Skype client is up-to-date by going to Help>Check for updates. Once finished, completely exit Skype.

Step 2: 
Head to C:\users\[your user name]\App Data\Roaming\Skype\[your Skype username]
You should see a config.xml file in this directory. Right-click it and choose Edit, then find the line that says <AdvertPlaceholder> and delete the entire line. 
Make sure to save your changes to the file before exiting. You can use Ctrl+F to find the line quickly.

Note: If you do not see the App Data folder, it's probably because you don't have Show hidden files enabled. Click the Organise button > Folder and search options> View tab > mark the radio button next to Show hidden files, folders, or drives.

Step 3:
 Mark the config.xml file as read-only by right-clicking the file and choosing Properties. Check the box next to Read-only and click OK.

Now your chat window and video conferences will be free of advertisements.



Top 10 cool google search tricks

1. Definitions

Find out the definition of any word by just typing define followed by the word you want the definition for. Google will display the meaning of the word.  For example: Type define abscond and press enter. You’ll see the meaning of the word in search results.
define words using google

2. Google Translate

If you want to translate any text, just type the word followed by the language you want the result for. For example, Type eminence translation in hindi and press enter. You will see the translation of text in search results. Translating text become very easy with Google Translate tool.
translation with google

3. Local Area Search

Visit Google local and enter the area you want to search or keywords of the places you want to search for. For example: typing restaurants in above link will display all the local restaurants.

4. Find PDF results only

If you want the search results matching a particular file format then use filetype: in your search query. Suppose I want to find PDF files then I should type the name of the filefollowed by filetype:PDF.
For instance: Typing learn SEO filetype:PDF will display the PDF files related to learn SEO.
google search tricks

5.Find Weather And Movies

If you want to find the weather in a particular location, then type weather followed by zip code or city and state to know the weather conditions. For example: typing weather ghatkesar will display the current weather conditions of Ghatkesar.
find current weather with google
Similarly Find movies in a location by just typing movies followed by the area code or city to know the current playing movies. For example: Typing movies in dilsukhnagar will display current playing movies in that location.
find local current playing movies with google

6.Track The Status Of Airline Flight

If you want to track the status and time arrival of any flight, then just type the airline name and flight numberYou will get the information about the flight. For example: Typing Delta 1456 will display the status of the flight.
google tricks

7. Google calculator

You can use Google search engine as a calculator and solve your math problems. Just type calculator in Google search and press enter. Google will display Google calculator in search results which you can use for your calculations.
google calculator tool

8. Pages Linking To A Site

To see the web pages linking to your website or blog, just enter link: followed by the URL of your site. 

9. Google Timer

You can also use Google as Timer. All you need to do is just type set timer followed by the time that you want to allow for the timer. As soon as you press enter you will see the timer in your search results. For example set timer 2 hours will display the timer with duration of 2 hours.
google timer tool

10. Stocks

You can easily get the stock quote price, chart, and related links by just typing the stock symbol in Google. For example Typing stocks:msft will display the stock information of Microsoft.
google stocks

For more Tricks refer http://www.alltechtricks.in/ 

How to enable copy and paste in command prompt

► Open Command Prompt by pressing windows key + R (StartRun) and type cmd in pop up box and click on ok.
► In CMD, right-click on the title bar and select properties option from the pop-up menu.
► Now make sure that Options tab is selected and check Quick Edit Mode in the newly opened window.
► By enabling Quick Edit Mode, you can now copy text from anywhere and paste it in CMD or copy text from CMD and paste somewhere else.
  • Just copy text from any source using CTRL + C and just right click in CMD using your mouse. You’ll notice that the text is copied in your command prompt. The text is written as many times as you right click in Command prompt.
  • Similarly to copy text from CMD, select the text and right-click using the mouse on selected text to copy it. Now you can paste the text in anywhere you want.

  • ► There is another way to copy text from CMD without using Quick Edit Mode. For this, just right-click on the title bar of Command prompt, select Edit then Mark.