mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-03-12 04:35:49 -07:00
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!
10 lines
311 B
Python
10 lines
311 B
Python
from parsers.parser import Parser
|
|
|
|
class SNMP(Parser):
|
|
name = 'SNMP'
|
|
|
|
def UDP_Parser(self, pkt, src_ip_port, dst_ip_port):
|
|
if pkt.haslayer(SNMP):
|
|
if type(pkt[SNMP].community.val) == str:
|
|
ver = pkt[SNMP].version.val
|
|
self.logger('SNMPv{} community string: {}'.format(ver, snmp_layer.community.val)) |