Skip to content

Commit

Permalink
Release v4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
j3ssie committed May 6, 2022
1 parent 66c80fd commit e49cd2a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 39 deletions.
3 changes: 3 additions & 0 deletions core/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ import (

// ResolveData resolve template from signature file
func ResolveData(format string, data map[string]string) string {
//utils.DebugF("ResolveData: %s", format)
t := template.Must(template.New("").Parse(format))

buf := &bytes.Buffer{}
err := t.Execute(buf, data)
if err != nil {
utils.ErrorF("Error render: %v -- %v", format, err)
return format
}
return buf.String()
Expand Down
68 changes: 31 additions & 37 deletions core/reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,6 @@ package core

/* File to store all the script for better reference */

const (
SetVar = "SetVar"
GetOSEnv = "GetOSEnv"
)

const (
RRSync = "RRSync"
Clone = "Clone"
FClone = "FClone"
PushResult = "PushResult"
PushFolder = "PushFolder"
PullFolder = "PullFolder"
DiffCompare = "DiffCompare"
GitDiff = "GitDiff"
LoopGitDiff = "LoopGitDiff"
GetFileFromCDN = "GetFileFromCDN"
GetWSFromCDN = "GetWSFromCDN"
DownloadFile = "DownloadFile"
// for gitlab API only
CreateRepo = "CreateRepo"
DeleteRepo = "DeleteRepo"
DeleteRepoByPid = "DeleteRepoByPid"
ListProjects = "ListProjects"
)

const (
Cleaning = "Cleaning"
CleanAmass = "CleanAmass"
Expand Down Expand Up @@ -63,18 +38,12 @@ const (
ExecCmdB = "ExecCmdB"
ExecCmdWithOutput = "ExecCmdWithOutput"
ExecContain = "ExecContain"
)

const (
Sleep = "Sleep"
Exit = "Exit"
CastToInt = "CastToInt"
StripSlash = "StripSlash"
Printf = "Printf"
Cat = "Cat"
)

const (
Sleep = "Sleep"
Exit = "Exit"
CastToInt = "CastToInt"
StripSlash = "StripSlash"
Printf = "Printf"
Cat = "Cat"
SortU = "SortU"
SplitFile = "SplitFile"
Append = "Append"
Expand All @@ -101,3 +70,28 @@ const (
TotalDirb = "TotalDirb"
CreateReport = "CreateReport"
)

const (
RRSync = "RRSync"
Clone = "Clone"
FClone = "FClone"
PushResult = "PushResult"
PushFolder = "PushFolder"
PullFolder = "PullFolder"
DiffCompare = "DiffCompare"
GitDiff = "GitDiff"
LoopGitDiff = "LoopGitDiff"
GetFileFromCDN = "GetFileFromCDN"
GetWSFromCDN = "GetWSFromCDN"
DownloadFile = "DownloadFile"
// for gitlab API only
CreateRepo = "CreateRepo"
DeleteRepo = "DeleteRepo"
DeleteRepoByPid = "DeleteRepoByPid"
ListProjects = "ListProjects"
)

const (
SetVar = "SetVar"
GetOSEnv = "GetOSEnv"
)
1 change: 0 additions & 1 deletion execution/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ func CleanJSONHttpx(filename string, dest string) {
rawTechs := jsonParsed.S("technologies")
techs := "No-Tech"
if rawTechs != nil {
//var techs []string
techs = strings.Join(cast.ToStringSlice(rawTechs.Data()), ";;")

}
Expand Down
2 changes: 1 addition & 1 deletion libs/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "fmt"

const (
// VERSION of this project
VERSION = "v4.1.0"
VERSION = "v4.1.1"
// DESC description of the tool
DESC = "A Workflow Engine for Offensive Security"
// BINARY name of osmedeus
Expand Down

0 comments on commit e49cd2a

Please sign in to comment.