Commit Graph
38 Commits
Author SHA1 Message Date
TigahandGitHub 39b333320e chore: migrate module path to github.com/vmfunc/sif (#194)
rename the go module path from github.com/dropalldatabases/sif to
github.com/vmfunc/sif across go.mod, all imports, the golangci exclude
list, release install docs and docs. pure string rename, no logic change.
2026-06-22 22:25:39 -07:00
vmfunc ef0408ee8d feat: pipe mode (stdin targets, naked-host, -silent plain output)
sif can now slot into unix pipelines. stdin is drained for targets when
it's a pipe (keyed off stdin's mode, not stdout), alongside -u/-f. naked
hosts are accepted and default to https://; explicit http(s) is kept,
other schemes rejected. -silent routes all banner/spinner/log chrome to
stderr and prints one normalized finding per line to stdout via
finding.Flatten, so `subfinder | sif -silent | notify` works.
2026-06-10 15:50:58 -07:00
vmfunc 661480a56d feat: stamp and surface the build version
- add internal/version: resolve from the release ldflag, else the go build
  info (module tag / vcs revision), else "dev"
- show the version on the boot banner and for `sif version`
- Makefile now stamps `make` builds via git describe (matching the release ci),
  so local/go-install builds report a real version instead of "dev"
- patchnotes.ShowOnce skips pseudo/dev versions so non-release builds dont make
  a doomed github call
- document sif version / sif patchnote / SIF_NO_PATCHNOTES in the readme + usage
2026-06-09 14:18:28 -07:00
vmfunc 5e10c1857b feat: show release notes via patch notes
- `sif patchnote` (also `-pn`) fetches the latest github release and renders
  its notes with glamour
- on the first run of a new version those notes are shown once, then recorded
  so they dont show again - best-effort, so dev builds, the SIF_NO_PATCHNOTES
  opt-out, and any network failure stay quiet
- wire up `var version` so the release `-X main.version` ldflag actually lands,
  and add `sif version`
2026-06-08 19:13:03 -07:00
vmfunc 648fa8d2c8 chore: bump copyright headers to 2026
rolls the (c) 2022-2025 banner to 2022-2026 across all go files, the
startup banner in sif.go, and the header-check workflow's expected
format. comment-only, nothing else changes.
2026-06-08 18:30:48 -07:00
vmfunc d2537dae1b refactor: move pkg/scan to internal/scan 2026-01-03 05:57:10 -08:00
vmfunc 539122ac4e refactor: move config to internal 2026-01-03 05:57:10 -08:00
vmfunc a6abadd0d4 refactor: rewrite framework detection with modular detector architecture
- create detector interface and registry for extensibility
- extract detectors to separate files: backend.go, frontend.go, cms.go, meta.go
- reduce detect.go from 785 lines to 178 lines (pure orchestrator)
- export VersionMatch and ExtractVersionOptimized for detector use
- create result.go with NewFrameworkResult and WithVulnerabilities helpers
- add url validation to New() for early error detection
- add sif_test.go with main package tests
- update detect_test.go to use external test package pattern
2026-01-03 05:57:09 -08:00
vmfunc d30c7f56a3 license: switch to bsd 3-clause, update headers and readme
- replace proprietary license with bsd 3-clause
- update all go file headers with new retro terminal style
- add header-check github action to enforce license headers
- completely rewrite readme to be modern, sleek, and lowercase
- fix broken badges
2026-01-02 17:41:18 -08:00
vmfunc b335a45a82 chore<format>: gofmt whitespace removal 2024-10-15 02:32:48 +02:00
vmfunc 267aa6e177 chore<comments>: bunch of AI-generated comments to make the codebase easier to understand 2024-10-12 23:06:22 +02:00
syscats 493806c8c4 feat: only send header if API mode isn't enabled 2024-02-04 14:36:14 +01:00
syscats c39c98ebf1 fix: change copyright 2024-02-04 14:33:24 +01:00
Sol Fisher Romanoff b2a354137d Move import repositories to dropalldatabases 2023-09-14 20:48:45 +03:00
Sol Fisher Romanoff 755b4641c7 Refactor 2023-09-14 20:46:47 +03:00
Sol Fisher Romanoff 1fb59850c7 Remove unreachable code 2023-09-14 20:46:47 +03:00
Sol Fisher Romanoff 04a304908a Add nuclei template parsing support 2023-09-14 20:46:47 +03:00
Sol Fisher Romanoff 4d7c01bc76 cmd: close resp.Body to avoid memory leak 2023-09-14 20:46:46 +03:00
Sol Fisher Romanoff e2504eab48 cmd/scan: ignore 3xx redirects 2023-09-14 20:46:46 +03:00
Sol Fisher Romanoff 122cfa8b63 cmd/scan: use strings.Cut instead of Split
solves the issue with nil Disallow values
2023-09-14 20:46:46 +03:00
Sol Fisher Romanoff 1695560744 cmd/{dirlist,dnslist}: Clearer error message
when not choosing small/medium/large
2023-09-14 20:46:46 +03:00
Sol Fisher Romanoff 0969ed146e Add option to specify number of threads 2023-09-14 20:46:46 +03:00
Sol Fisher Romanoff 9aebb23417 Return on failed scan 2023-09-14 20:46:46 +03:00
Sol Fisher Romanoff 82fd63d679 cmd: add concurrency to scans 2023-09-14 20:46:45 +03:00
pushfsandSol Fisher Romanoff b89012f374 git: implement git feature 2023-09-14 20:46:45 +03:00
pushfsandSol Fisher Romanoff 09f761d908 dork: add dorking feature 2023-09-14 20:46:45 +03:00
Sol Fisher Romanoff ed49bcafeb List open ports at the end 2023-09-14 20:46:45 +03:00
Sol Fisher Romanoff 07fa0b2878 Add port scanning 2023-09-14 20:46:45 +03:00
pushfsandSol Fisher Romanoff 576c88daac fixing robots and add log support 2023-09-14 20:46:44 +03:00
pushfsandSol Fisher Romanoff b3add6642f log1 2023-09-14 20:46:44 +03:00
pushfsandSol Fisher Romanoff 2a96096e94 implement too much shit 2023-09-14 20:46:44 +03:00
pushfsandSol Fisher Romanoff aa2e3dc2cd dns list feature + timeout 2023-09-14 20:46:43 +03:00
Sol Fisher Romanoff 4d347aea00 dirlist: don't create a new client for each request 2023-09-14 20:46:43 +03:00
pushfs 69db4b26ef progress bar 2023-09-01 19:34:18 +02:00
pushfs 04780a673c base dirlist feature 2023-09-01 19:22:44 +02:00
pushfs 474bf16009 support for dirlist size 2023-09-01 18:45:57 +02:00
pushfs 59cb5efd31 adding vscode workspace files to project 2023-09-01 18:39:00 +02:00
pushfs d7e205c192 d 2023-09-01 18:16:13 +02:00