# mitmdump_decoder **Repository Path**: mirrors_tanis2000/mitmdump_decoder ## Basic Information - **Project Name**: mitmdump_decoder - **Description**: A helper script for mitmproxy to decode protobuf serialized requests and responses - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mitmdump decoder ## Description A helper script for mitmproxy to decode protobuf serialized requests and responses. It also parses the GetMapObjects responses into a geojson format file that can be viewed using the 'ui'. The ui is completely clientside, so it should be hostable with any static file server (I use 'http-server'). ## Dependencies Python 2.7 Requires mitmproxy, protobuf>=3.0.0a3, geojson, numpy ## Installing ``` git clone https://github.com/bettse/mitmdump_decoder.git apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev pip install numpy geojson protobuf>=3.0.0a3 mitmproxy ``` ## Running `mitmdump -p 8888 -s decode.py --ignore '^(?!pgorelease\.nianticlabs\.com)'` ## Rebuild python classes ### Linux ``` cd idl; ls -1 *.proto | while read filename; do protoc --python_out ../protocol/ $filename; done ``` ### Windows ``` cd idl; ls *.proto | ForEach-Object { Invoke-Expression "protoc --proto_path '$($_.DirectoryName)' --python_out ../protocol/ '$($_.FullName)'" } ``` ## Rebuild descriptors ### Windows ``` cd idl; ls *.proto | ForEach-Object { Invoke-Expression "protoc --proto_path '$($_.DirectoryName)' -o ../descriptors/$($_.Name).desc '$($_.FullName)'" } ```