1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00

add init for root

This commit is contained in:
zu1k 2020-07-19 07:36:58 +08:00
parent d8b2da8371
commit ada57ac6d9

View File

@ -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() {