Initial commit for v1.0 using mitmproxy instead of twisted

Added a plugin system to Net-Creds so you can now add your own parsers,
api hook names might change between now and the offcial release
(will submit a PR to the original repo once completed)

The main MITM HTTP Proxy now uses mitmproxy which is a big deal, cuts
the code down by an insane amount, no more twisted! yay!

Basic plugin have been re-wrote for the new proxy engine

Since we are using mitmproxy we have out of the box support for SSL/TLS!
This commit is contained in:
byt3bl33d3r 2016-02-06 13:27:08 -07:00
commit eea5f53be2
50 changed files with 5525 additions and 0 deletions

18
parsers/parser.py Normal file
View file

@ -0,0 +1,18 @@
class Parser(object):
name = 'Parser Name'
def __init__(self, logger):
self.logger = logger
self.logger.extra['parser'] = self.name
def TCP_Parser(self, payload, src_ip_port, dst_ip_port):
'''
This function is called on every TCP packet
'''
pass
def UDP_Parser(self, payload, src_ip_port, dst_ip_port):
'''
This function is called on every UDP packet
'''
pass