Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set by main to the resolved build version and shown on the banner.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App represents the main application structure for sif. It encapsulates the configuration settings, target URLs, and logging information.
type ModuleResult ¶
type ModuleResult struct {
Id string `json:"id"`
Data interface{} `json:"data"`
}
func NewModuleResult ¶
func NewModuleResult[T ScanResult](data T) ModuleResult
NewModuleResult creates a ModuleResult with compile-time type safety. The data parameter must implement ScanResult, which is enforced at compile time.
type ScanResult ¶
type ScanResult interface {
ResultType() string
}
ScanResult is the interface that all scan result types must implement. This mirrors the definition in pkg/scan/result.go for use by the main package.
type UrlResult ¶
type UrlResult struct {
Url string `json:"url"`
Results []ModuleResult
}
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sif
command
|
|
|
internal
|
|
|
dnsx
Package dnsx resolves subdomain candidates against a bundled resolver pool before anything is probed over http, so the slow/inaccurate path of HTTP-ing every wordlist entry through the OS resolver is gone.
|
Package dnsx resolves subdomain candidates against a bundled resolver pool before anything is probed over http, so the slow/inaccurate path of HTTP-ing every wordlist entry through the OS resolver is gone. |
|
finding
Package finding is the one normalization layer between the scan results and the consumers that don't want to know about ~two dozen result structs: notify (later) gates and renders on it, diff (later) keys runs off it.
|
Package finding is the one normalization layer between the scan results and the consumers that don't want to know about ~two dozen result structs: notify (later) gates and renders on it, diff (later) keys runs off it. |
|
fingerprint
Package fingerprint holds small response-fingerprinting primitives shared by the scan checks and the module engine, so both compute identical values.
|
Package fingerprint holds small response-fingerprinting primitives shared by the scan checks and the module engine, so both compute identical values. |
|
httpx
Package httpx is the shared http layer every scanner talks through, so a single Configure call wires proxy, custom headers, cookies and rate limiting into every outbound request without touching scanner signatures.
|
Package httpx is the shared http layer every scanner talks through, so a single Configure call wires proxy, custom headers, cookies and rate limiting into every outbound request without touching scanner signatures. |
|
modules
Package modules provides the module system infrastructure for SIF.
|
Package modules provides the module system infrastructure for SIF. |
|
notify
Package notify ships findings to chat/webhook sinks (slack, discord, telegram, generic webhook) so a continuous-recon run can alert on what it turns up.
|
Package notify ships findings to chat/webhook sinks (slack, discord, telegram, generic webhook) so a continuous-recon run can alert on what it turns up. |
|
patchnotes
Package patchnotes shows release notes pulled from the github releases.
|
Package patchnotes shows release notes pulled from the github releases. |
|
pool
Package pool spreads independent per-item work across a fixed set of workers that all pull from one shared channel.
|
Package pool spreads independent per-item work across a fixed set of workers that all pull from one shared channel. |
|
report
Package report serializes collected scan results to sarif and markdown.
|
Package report serializes collected scan results to sarif and markdown. |
|
scan
The scan package provides a collection of security scanning functions.
|
The scan package provides a collection of security scanning functions. |
|
sifpath
Package sifpath resolves the per-user sif directories so every subsystem agrees on where user-supplied files live.
|
Package sifpath resolves the per-user sif directories so every subsystem agrees on where user-supplied files live. |
|
store
Package store persists a run's normalized findings as a json snapshot, one file per target, so a later run can diff against it and surface only what changed.
|
Package store persists a run's normalized findings as a json snapshot, one file per target, so a later run can diff against it and surface only what changed. |
|
styles
Package styles provides custom styling options for the SIF tool's console output.
|
Package styles provides custom styling options for the SIF tool's console output. |
|
version
Package version resolves sif's version from the build.
|
Package version resolves sif's version from the build. |
Click to show internal directories.
Click to hide internal directories.