Skip to content

Commit 89c42cd

Browse files
committed
main: add get command
1 parent e6e59c0 commit 89c42cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66
"os"
77

8+
"github.com/alphasoc/flightsim/cmd/get"
89
"github.com/alphasoc/flightsim/cmd/run"
910
)
1011

@@ -20,10 +21,12 @@ Usage:
2021
flightsim <command> [arguments]
2122
2223
Available commands:
24+
get Get a list of elements (ie. families) of a certain category (ie. c2)
2325
run Run all modules, or a particular module
2426
version Prints the version number
2527
2628
Cheatsheet:
29+
flightsim get families:c2 Get a list of all c2 families
2730
flightsim run Run all the modules
2831
flightsim run c2 Simulate C2 traffic
2932
flightsim run c2:trickbot Simulate C2 traffic for the TrickBot family
@@ -48,6 +51,9 @@ func main() {
4851
var err error
4952

5053
switch cmd {
54+
case "get":
55+
get.Version = Version
56+
err = get.RunCmd(args)
5157
case "run":
5258
run.Version = Version
5359
err = run.RunCmd(args)

0 commit comments

Comments
 (0)