
Simply put, any website that requires login credentials or involves financial transactions should use HTTPS to ensure the security of users, transactions and data. HTTPS plays a significant role in securing websites that handle or transfer sensitive data, including data handled by online banking services, email providers, online retailers, healthcare providers and more. It also protects legitimate domains from domain name system (DNS) spoofing attacks. The protocol protects users against eavesdroppers and man-in-the-middle ( MitM) attacks. Hypertext Transfer Protocol Secure (HTTPS) is a protocol that secures communication and data transfer between a user's web browser and a website. For other options, see Technical Q&A QA1176 Getting a Packet Trace.What is Hypertext Transfer Protocol Secure (HTTPS)? TCPDump is included with all versions of OS X. Now all Internet traffic from your iPhone will be recorded.The log generated can also be imported by WireShark (which is a GUI version of tcpdump). Use ifconfig if you have a network interface other than en1. In your Mac type sudo tcpdump -s 0 -A -i en1 port 443 > log.txt.Disconnect 3G on your iPhone from Settings > General > Network and check your Internet with Safari.Enable Internet Sharing, and connect to this new Wi-Fi network from your iPhone.

In Share your connection from:, choose the interface you are getting Internet from, usually Ethernet.


Or skip this step if you only want to sniff traffic from the app to your own computer.

Connect your Mac to your router using an Ethernet cable (the Wi-Fi card will be busy working as access point).An alternative is using your Mac as a Wi-Fi access point and sniffing the traffic with TCPDump.
