Skip to content

A python port of xplico to analyse pcap files using dpkt and flask

Notifications You must be signed in to change notification settings

jashlodhavia/pyplico

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A python port of Xplico using dpkt.

This repo is still under development. Please look at "developement" branch for latest work.

Why pyplico

There are many tools available to do stuff with pcap files. I felt the need of a tool which can analyse packets in both code as well as GUI. While playing CTFs I knew that a good CTF tool like CyberChef is also needed. (Honestly, CyberChef is much better than what I am doing. xD)

Components

  • pyplico - A python package
  • venom - A react app for my cryptographic needs
  • API to catch pyplico from venom (Planning)

Installation

virtualenv env
source env/bin/activate
pip install -r requirements
cd src
python setup.py install

Example

Reading PCAP file and extracting SMTP Credentials

from pyplico.packetReader import PacketReader
pr = PacketReader("../src/data/smtp.pcap", to_itr=False, to_list=True)
ft = pr.get_flow_table()
creds = SMTPUtils.hunt_credentials(ft)

About

A python port of xplico to analyse pcap files using dpkt and flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 42.3%
  • Python 38.5%
  • SCSS 15.8%
  • HTML 2.8%
  • CSS 0.6%