• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebookincubator / TTPForge / 18751139289
66%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D89671295
DEFAULT BRANCH: main
Ran 23 Oct 2025 02:08PM UTC
Jobs 1
Files 71
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Oct 2025 02:07PM UTC coverage: 65.688%. First build
18751139289

Pull #568

github

facebook-github-bot
Implement Windows superuser check

Summary:
Previously, TTPForge would only log a warning when a TTP required superuser privileges on Windows but wouldn't actually enforce the requirement. This change implements proper administrator privilege checking on Windows using `golang.org/x/sys/windows` to check if the process token is elevated.

The implementation uses Go build tags to provide platform-specific implementations of superuser checking. Unix-based systems continue to use `os.Geteuid() == 0` while Windows now uses token elevation checking.

Reviewed By: RoboticPrism

Differential Revision: D85156306
Pull Request #568: Implement Windows superuser check

24 of 36 new or added lines in 6 files covered. (66.67%)

2730 of 4156 relevant lines covered (65.69%)

16.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
48.72
pkg/blocks/requirements.go
3
75.28
cmd/enumttps.go
4
63.64
cmd/createuuid.go
4
73.33
cmd/move.go
Jobs
ID Job ID Ran Files Coverage
1 18751139289.1 23 Oct 2025 02:08PM UTC 71
65.69
GitHub Action Run
Source Files on build 18751139289
  • Tree
  • List 71
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #568
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc