@@ -302,6 +302,18 @@ def _run(cls, target: Target, cli_args: argparse.Namespace, collector: Collector
302
302
collector .collect (spec , follow = False , volatile = True )
303
303
304
304
305
+ @register_module ("--proc-net" )
306
+ @local_module
307
+ class ProcNet (Module ):
308
+ DESC = "Procfs network files (live systems only)"
309
+ EXEC_ORDER = ExecutionOrder .BOTTOM
310
+
311
+ @classmethod
312
+ def _run (cls , target : Target , cli_args : argparse .Namespace , collector : Collector ) -> None :
313
+ spec = [("dir" , "/proc/net" )]
314
+ collector .collect (spec , follow = False , volatile = True )
315
+
316
+
305
317
@register_module ("-n" , "--ntfs" )
306
318
class NTFS (Module ):
307
319
DESC = "NTFS filesystem metadata"
@@ -2090,27 +2102,28 @@ class VolatileProfile:
2090
2102
WinArpCache ,
2091
2103
WinRDPSessions ,
2092
2104
WinDnsClientCache ,
2105
+ ProcNet ,
2093
2106
)
2094
- EXTENSIVE = (
2107
+ FULL = (
2095
2108
Proc ,
2096
2109
Sys ,
2097
2110
)
2098
2111
2099
2112
2100
2113
VOLATILE = {
2101
- "default " : {
2114
+ "full " : {
2102
2115
"windows" : VolatileProfile .DEFAULT ,
2103
- "linux" : [] ,
2104
- "bsd" : [] ,
2105
- "esxi" : [] ,
2116
+ "linux" : VolatileProfile . FULL ,
2117
+ "bsd" : VolatileProfile . FULL ,
2118
+ "esxi" : VolatileProfile . FULL ,
2106
2119
"osx" : [],
2107
2120
"proxmox" : [],
2108
2121
},
2109
- "extensive " : {
2122
+ "default " : {
2110
2123
"windows" : VolatileProfile .DEFAULT ,
2111
- "linux" : VolatileProfile . EXTENSIVE ,
2112
- "bsd" : VolatileProfile . EXTENSIVE ,
2113
- "esxi" : VolatileProfile . EXTENSIVE ,
2124
+ "linux" : [] ,
2125
+ "bsd" : [] ,
2126
+ "esxi" : [] ,
2114
2127
"osx" : [],
2115
2128
"proxmox" : [],
2116
2129
},
0 commit comments