Skip to content

feat: NtQueueApcThread variant via --nt flag - #10

Merged
incendiary merged 1 commit into
masterfrom
feat/nt-queue-apc-thread
May 19, 2026
Merged

feat: NtQueueApcThread variant via --nt flag#10
incendiary merged 1 commit into
masterfrom
feat/nt-queue-apc-thread

Conversation

@incendiary

Copy link
Copy Markdown
Owner

Summary

  • Add NtQueueApcThread P/Invoke to Win32.cs (ntdll.dll, undocumented)
  • Add ParseUseNt() to Program.cs; --nt flag selects the ntdll tier
  • Update ParseUrl() to skip --nt when extracting the URL
  • New usage: QueuserAPC.exe [--nt] <shellcode-url>
  • Add README comparison table explaining trade-offs between the two variants
  • Add xUnit tests for ParseUseNt() and --nt + URL argument interaction

Closes #8

Test plan

  • CI build (Debug + Release) passes
  • CI test job passes (new ParseUseNt tests green)

🤖 Generated with Claude Code

- Add NtQueueApcThread P/Invoke to Win32.cs (ntdll.dll)
- Add ParseUseNt() to Program.cs; --nt flag selects ntdll tier
- Update ParseUrl() to skip --nt when extracting URL
- Update usage: QueuserAPC [--nt] <shellcode-url>
- Add README comparison table (QueueUserAPC vs NtQueueApcThread)
- Add xUnit tests for ParseUseNt and --nt+URL interaction

Closes #8

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@incendiary
incendiary merged commit 97ba16e into master May 19, 2026
8 checks passed
@incendiary
incendiary deleted the feat/nt-queue-apc-thread branch May 19, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: NtQueueApcThread variant alongside QueueUserAPC

1 participant