Projects STRLCPY Osmedeus Commits e49cd2ae
🤬
  • ■ ■ ■ ■ ■ ■
    core/parse.go
    skipped 22 lines
    23 23   
    24 24  // ResolveData resolve template from signature file
    25 25  func ResolveData(format string, data map[string]string) string {
     26 + //utils.DebugF("ResolveData: %s", format)
    26 27   t := template.Must(template.New("").Parse(format))
     28 + 
    27 29   buf := &bytes.Buffer{}
    28 30   err := t.Execute(buf, data)
    29 31   if err != nil {
     32 + utils.ErrorF("Error render: %v -- %v", format, err)
    30 33   return format
    31 34   }
    32 35   return buf.String()
    skipped 257 lines
  • ■ ■ ■ ■ ■ ■
    core/reference.go
    skipped 2 lines
    3 3  /* File to store all the script for better reference */
    4 4   
    5 5  const (
    6  - SetVar = "SetVar"
    7  - GetOSEnv = "GetOSEnv"
    8  -)
    9  - 
    10  -const (
    11  - RRSync = "RRSync"
    12  - Clone = "Clone"
    13  - FClone = "FClone"
    14  - PushResult = "PushResult"
    15  - PushFolder = "PushFolder"
    16  - PullFolder = "PullFolder"
    17  - DiffCompare = "DiffCompare"
    18  - GitDiff = "GitDiff"
    19  - LoopGitDiff = "LoopGitDiff"
    20  - GetFileFromCDN = "GetFileFromCDN"
    21  - GetWSFromCDN = "GetWSFromCDN"
    22  - DownloadFile = "DownloadFile"
    23  - // for gitlab API only
    24  - CreateRepo = "CreateRepo"
    25  - DeleteRepo = "DeleteRepo"
    26  - DeleteRepoByPid = "DeleteRepoByPid"
    27  - ListProjects = "ListProjects"
    28  -)
    29  - 
    30  -const (
    31 6   Cleaning = "Cleaning"
    32 7   CleanAmass = "CleanAmass"
    33 8   CleanRustScan = "CleanRustScan"
    skipped 29 lines
    63 38   ExecCmdB = "ExecCmdB"
    64 39   ExecCmdWithOutput = "ExecCmdWithOutput"
    65 40   ExecContain = "ExecContain"
    66  -)
    67  - 
    68  -const (
    69  - Sleep = "Sleep"
    70  - Exit = "Exit"
    71  - CastToInt = "CastToInt"
    72  - StripSlash = "StripSlash"
    73  - Printf = "Printf"
    74  - Cat = "Cat"
    75  -)
    76  - 
    77  -const (
     41 + Sleep = "Sleep"
     42 + Exit = "Exit"
     43 + CastToInt = "CastToInt"
     44 + StripSlash = "StripSlash"
     45 + Printf = "Printf"
     46 + Cat = "Cat"
    78 47   SortU = "SortU"
    79 48   SplitFile = "SplitFile"
    80 49   Append = "Append"
    skipped 21 lines
    102 71   CreateReport = "CreateReport"
    103 72  )
    104 73   
     74 +const (
     75 + RRSync = "RRSync"
     76 + Clone = "Clone"
     77 + FClone = "FClone"
     78 + PushResult = "PushResult"
     79 + PushFolder = "PushFolder"
     80 + PullFolder = "PullFolder"
     81 + DiffCompare = "DiffCompare"
     82 + GitDiff = "GitDiff"
     83 + LoopGitDiff = "LoopGitDiff"
     84 + GetFileFromCDN = "GetFileFromCDN"
     85 + GetWSFromCDN = "GetWSFromCDN"
     86 + DownloadFile = "DownloadFile"
     87 + // for gitlab API only
     88 + CreateRepo = "CreateRepo"
     89 + DeleteRepo = "DeleteRepo"
     90 + DeleteRepoByPid = "DeleteRepoByPid"
     91 + ListProjects = "ListProjects"
     92 +)
     93 + 
     94 +const (
     95 + SetVar = "SetVar"
     96 + GetOSEnv = "GetOSEnv"
     97 +)
  • ■ ■ ■ ■ ■
    execution/clean.go
    skipped 479 lines
    480 480   rawTechs := jsonParsed.S("technologies")
    481 481   techs := "No-Tech"
    482 482   if rawTechs != nil {
    483  - //var techs []string
    484 483   techs = strings.Join(cast.ToStringSlice(rawTechs.Data()), ";;")
    485 484   
    486 485   }
    skipped 50 lines
  • ■ ■ ■ ■
    libs/version.go
    skipped 3 lines
    4 4   
    5 5  const (
    6 6   // VERSION of this project
    7  - VERSION = "v4.1.0"
     7 + VERSION = "v4.1.1"
    8 8   // DESC description of the tool
    9 9   DESC = "A Workflow Engine for Offensive Security"
    10 10   // BINARY name of osmedeus
    skipped 17 lines
Please wait...
Page is in error, reload to recover