crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
044689b3
ROOT
/
projectdiscovery
/
nuclei_Yaml
/
nclruner
/
runner
/
update.go
Search
History
613 lines
|
ISO-8859-1
|
19 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
userName
repoName
nucleiIgnoreFile
nucleiConfigFilename
reVersion
getVersions
(runner *Runner)
:
(semver.Version, semver.Version, error)
getGHClientIncognito
()
:
*github.Client
getGHClientWithToken
()
:
*github.Client
templateUpdateResults
additions
:
[]string
deletions
:
[]string
modifications
:
[]string
totalCount
:
int
checksums
:
map[string]string
writeUnZippedTemplateFile
(templateAbsolutePath string, zipTemplateFile *zip.File)
:
(string, error)
calculateTemplateAbsolutePath
(zipFilePath, configuredTemplateDirectory string)
:
(string, bool, error)
createTemplateChecksumsMap
(checksumsFilePath string)
:
(map[string][2]string, error)
writeTemplatesChecksum
(file string, checksum map[string]string)
:
error
updateNucleiVersionToLatest
(verbose bool)
:
error
*Runner
updateTemplates
()
:
error
updateTemplatesWithVersion
(latestVersion semver.Version, currentVersion semver.Version, runner *Runner, ctx context.Context)
:
error
readInternalConfigurationFile
(configDir string)
:
error
checkNucleiIgnoreFileUpdates
(configDir string)
:
bool
getLatestReleaseFromGithub
(latestTag string)
:
(*github.RepositoryRelease, error)
downloadReleaseAndUnzip
(ctx context.Context, version, downloadURL string)
:
(*templateUpdateResults, error)
compareAndWriteTemplates
(zipReader *zip.Reader)
:
(*templateUpdateResults, error)
printUpdateChangelog
(results *templateUpdateResults, version string)
fetchLatestVersionsFromGithub
(configDir string)
All occurrences
Please wait...
Page is in error, reload to recover