mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
new: new c2 module, first draft
This commit is contained in:
parent
35dbb8a368
commit
583a54c194
23 changed files with 579 additions and 163 deletions
|
@ -91,7 +91,7 @@ func (mod *CapletsModule) Show() error {
|
|||
})
|
||||
}
|
||||
|
||||
tui.Table(os.Stdout, colNames, rows)
|
||||
tui.Table(mod.Session.Events.Stdout, colNames, rows)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@ -106,8 +106,8 @@ func (mod *CapletsModule) Paths() error {
|
|||
rows = append(rows, []string{path})
|
||||
}
|
||||
|
||||
tui.Table(os.Stdout, colNames, rows)
|
||||
fmt.Printf("(paths can be customized by defining the %s environment variable)\n", tui.Bold(caplets.EnvVarName))
|
||||
tui.Table(mod.Session.Events.Stdout, colNames, rows)
|
||||
mod.Printf("(paths can be customized by defining the %s environment variable)\n", tui.Bold(caplets.EnvVarName))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue