mirror of
https://github.com/zu1k/nali.git
synced 2025-03-10 10:22:32 +08:00
add init for root
This commit is contained in:
parent
32074e6bb7
commit
ac8f5c6f43
@ -57,6 +57,8 @@ Find document on: https://github.com/zu1k/nali
|
||||
Args: cobra.MinimumNArgs(0),
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
app.InitIPDB(ipdb.GetIPDBType())
|
||||
app.InitCDNDB()
|
||||
|
||||
if len(args) == 0 {
|
||||
stdin := bufio.NewScanner(os.Stdin)
|
||||
for stdin.Scan() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user