odedshimon / BruteShark

Network Analysis Tool
GNU General Public License v3.0
3.03k stars 332 forks source link

Refactor data context #112

Closed odedshimon closed 3 years ago

odedshimon commented 3 years ago

Description

This Pull-Request contains an implantation of new data structure called NetworkContext. That data structure role is to store the current network state including all the extracted items. Apart from the fact that this refactor improves the readability and structure of the code, thanks to this data structure different display components can share information while maintaining unconsciousness from each other (e.g the Network Map user control can now access DNS records if there are any).

Besides the implantation NetworkContext, this Pull-Request contains some features which could not have been done otherwise, mainly new network node details exporting asked at issue #77 :

Type of change