mirror of
https://github.com/lunchcat/sif.git
synced 2026-06-12 19:11:25 -07:00
git: add function to binary
This commit is contained in:
@@ -106,6 +106,11 @@ func (app *App) Run() error {
|
||||
scan.Whois(url, app.settings.LogDir)
|
||||
}
|
||||
|
||||
// func Git(url string, timeout time.Duration, threads int, logdir string)
|
||||
if app.settings.Git {
|
||||
scan.Git(url, app.settings.Timeout, app.settings.Threads, app.settings.LogDir)
|
||||
}
|
||||
|
||||
if app.settings.ApiMode {
|
||||
utils.ReturnApiOutput()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user