1
0
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:
zu1k 2020-07-19 07:36:58 +08:00
parent 32074e6bb7
commit ac8f5c6f43

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