Projects STRLCPY scan4all Commits 5a3eb3e7
🤬
  • fix After the update, the version has not changed. #104 2022-09-03

  • Loading...
  • hktalent committed 2 years ago
    5a3eb3e7
    1 parent 3da5f34d
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    lib/util/update.go
    skipped 10 lines
    11 11   "runtime"
    12 12  )
    13 13   
    14  -var Version = "999.9.9"
     14 +const Version = `2.7.9`
     15 + 
    15 16  var MyName = "scan4all"
    16 17   
    17 18  // 更新到最新版本
    skipped 52 lines
  • ■ ■ ■ ■ ■
    pkg/naabu/v2/pkg/runner/options.go
    skipped 74 lines
    75 75  // OnResultCallback (hostname, ip, ports)
    76 76  type OnResultCallback func(string, string, []int)
    77 77   
    78  -const Version = `2.0.7`
    79  - 
    80 78  // ParseOptions parses the command line flags provided by a user
    81 79  func ParseOptions() *Options {
    82 80   options := &Options{}
    skipped 100 lines
    183 181   //showBanner()
    184 182   
    185 183   if options.Version {
    186  - gologger.Info().Msgf("Current Version: %s\n", Version)
     184 + gologger.Info().Msgf("Current Version: %s\n", util.Version)
    187 185   os.Exit(0)
    188 186   }
    189 187   
    skipped 73 lines
Please wait...
Page is in error, reload to recover