Using tshark to Decrypt SSL/TLS Packets

I’m going to walk you through the process of decoding SSL/TLS traffic from a pcap file with the server’s private key using tshark (command-line version of Wireshark). You can, of course, always use ssldump for the same purpose. I assume you know how SSL/TLS works, and basic understanding of how Wireshark works, and why we […]

OS X and Android SDK

Android SDK can be installed with Homebrew (http://brew.sh).

Then run the following to install the SDK packages:

If you don’t want SDK and just want to install “adb” and “fastboot” for android phones, just install:

HTTP and HTTPS server with Python

Python 2 has already included an HTTP server module in its later versions. And running the server is as simple as this:

It starts the server on port 8000 (by default), and if we want to run on a different port, we will just add the new port number at the end of the […]

Making SQL Queries

This article is to summarize how do we make SQL queries using different languages and their methods. Making connection to the database will not be covered here. In the examples, we will be querying “SELECT * FROM employees where eid =and dept =” It is not recommended to use SQL statements without placeholders in order […]

KDE 4.8, Google Chrome and the Proxy

My KDE was just upgraded to v4.8 from v4.7.x. Privoxy was also configured on the same PC, just to strip some codes. Google Chrome is configured to use the Privoxy proxy on port 8118. After the upgrade, Google Chrome has failed to connect to internet. At the same time, Firefox was working perfectly with or […]