Skip to content

Commit 07c9f16

Browse files
kmrozioj
authored andcommitted
simulator: add imposter module
1 parent 9313d30 commit 07c9f16

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cmd/run/run.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ var allModules = []Module{
269269
HostMsg: "Simulating ICMP tunneling via %s",
270270
Timeout: 20 * time.Second,
271271
},
272+
Module{
273+
Module: simulator.CreateModule(wisdom.NewWisdomHosts("imposter", wisdom.HostTypeDNS), new(simulator.DNSResolveSimulator)),
274+
Name: "imposter",
275+
Pipeline: PipelineDNS,
276+
NumOfHosts: 5,
277+
HeaderMsg: "Resolving random imposter domains",
278+
Timeout: 1 * time.Second,
279+
},
272280
}
273281

274282
type Simulation struct {

0 commit comments

Comments
 (0)