Category Archives: Traffic Analysis

Python Script to test User-Agent Strings for bad ones – Loads a list of known UAs – Packet Analysis

#!/usr/bin/python # coding: utf-8 # UAtester # # Chris John Riley # blog.c22.cc # contact [AT] c22 [DOT] cc # 26/09/2010 # Version: 1.03 BETA # # Changelog # 0.1 –> Initial version # 0.2 –> Improved redirect handling # 0.3 –> ASCII-ART for the WIN! # 0.4 –> Output formatting (Still not happy with… Read More »

Share Button

Python Script to Extract TCP Streams from PCAP files and output them for Packet Analysis

#!/usr/bin/env python # # streamExtractor.py # # Copyright 2009 Serge Gorbunov <sgorbunov@hotmail.com> # <http://gserge.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at… Read More »

Share Button

HTTPANALYZER.PL Perl HTTP Analysis Analyzer Script Reads in PCAP Network Capture Traffic

    #!/usr/bin/perl ################################################################################ # httpAnalyzer.pl ################################################################################ # This script reads in a pcap network capture to analyze HTTP traffic. It # will output an HTML file in the current directory that contains the analysis # of every HTTP transfer recorded in the pcap file. The analysis output file has # been tested to work… Read More »

Share Button