HTTP body extractor based on scapy
- Python 2.x
- virtualenv
# clone repository
git clone https://gitlab.com/upd-samsung-nfv/extractor.git
cd extractor
# setup virtual env
virtualenv -p python venv
# install requirements
venv/bin/pip install -r requirements.txt
# run the extractor (sudo is required)
sudo ./venv/bin/python extractor.py
# sample curl
curl --header "Content-Type: application/json" \
--request POST \
--data '{"username":"xyz","password":"xyz"}' \
http://jsonplaceholder.typicode.com/posts