File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
volatility3/framework/plugins/linux Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 77from volatility3 .framework .configuration import requirements
88from volatility3 .framework .interfaces import plugins
99from volatility3 .framework .symbols .linux import net
10+ from volatility3 .framework .symbols .linux .extensions import net as net_extensions
1011
1112
1213class Addr (plugins .PluginInterface ):
@@ -29,7 +30,7 @@ def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]
2930 ),
3031 ]
3132
32- def _gather_net_dev_info (self , net_dev ):
33+ def _gather_net_dev_info (self , net_dev : net_extensions . net_device ):
3334 mac_addr = net_dev .get_mac_address ()
3435 promisc = net_dev .promisc
3536 operational_state = net_dev .get_operational_state ()
@@ -61,6 +62,7 @@ def _generator(self):
6162
6263 net_type_symname = vmlinux .symbol_table_name + constants .BANG + "net"
6364 net_device_symname = vmlinux .symbol_table_name + constants .BANG + "net_device"
65+ net .NetSymbols .apply (self .context .symbol_space [vmlinux .symbol_table_name ])
6466
6567 # 'net_namespace_list' exists from kernels >= 2.6.24
6668 net_namespace_list = vmlinux .object_from_symbol ("net_namespace_list" )
You can’t perform that action at this time.
0 commit comments