mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 13:19:02 +08:00
add init for root
This commit is contained in:
parent
d8b2da8371
commit
ada57ac6d9
@ -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…
Reference in New Issue
Block a user