# Functions
GetMachineID return a unique identifier that is unique to the machine it is a sha256 hashed value with pdtm as salt.
Get OS Vendor returns the linux distribution vendor if not linux then returns runtime.GOOS.
GetpdtmParams returns encoded query parameters sent to update check endpoint.
GetToolVersionCallback returns a callback function that checks for updates of tool by sending a request to update check endpoint and returns latest version if repoName is empty then tool name is considered as repoName.
GetUpdateToolCallback returns a callback function that updates given tool if given version is older than latest gh release and exits.
GetUpdateToolWithRepoCallback returns a callback function that is similar to GetUpdateToolCallback but it takes repoName as an argument (repoName can be either just repoName ex: `nuclei` or full repo Addr ex: `projectdiscovery/nuclei`).
Deprecated: use GetToolVersionCheckCallback instead.
GetVersionDescription returns tags like (latest) or (outdated) or (dev).
No description provided by the author
IsDevReleaseOutdated returns true if installed tool (dev version) is outdated ex: if installed tools is v2.9.1-dev and latest release is v2.9.1 then it is outdated since v2.9.1-dev is released and merged into main/master branch.
IsOutdated returns true if current version is outdated.
NewghReleaseDownloader returns GHRD instance.
UnpackAssetWithCallback unpacks asset and executes callback function on every file in data.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Aurora instance.
Note: DefaultHttpClient is only used in GetToolVersionCallback.
No description provided by the author
No description provided by the author
No description provided by the author
By default when tool is updated release notes of latest version are printed.
No description provided by the author
by default checksum of gh assets is verified with checksums file present in release.
No description provided by the author
# Type aliases
AssetFileCallback function is executed on every file in unpacked asset .
No description provided by the author