Convert string to hex.

2012-04-13 1 min read C Programs
If you want to use snoop or tcpdump with advanced search in the packet, then you would need to convert the string to hex string. For this, either you can use a web search and find some web application to do that or you can use a simple C program like this 🙂 /* * ===================================================================================== * * Filename: ascii.c * * Description: ascii to dec * * Version: 1.0 * Ceated: 03/02/2012 12:08:49 PM * Revision: none * Compiler: gcc * * Author: Amit Agarwal (aka), amit. Continue reading