OWASP / OWASP/Nettacker

feat: Add Windows platform support

Open
#1,372 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

duplicate
Dominant language
Python
Stars
5.6k
Forks
1.2k
Avg merge
1d 21h
Merged PRs (30d)
16

Description

Description

Currently, Nettacker does not support Windows. When running on Windows,
the tool immediately exits with an error:
"Unfortunately, this version of the software can only run on Linux/darwin"

Root Cause

Two issues prevent Windows support:

  1. uvloop is a hard dependency in core/lib/http.py but it is a Linux/Mac only package
  2. win32 and cygwin are not in the allowed platforms list in core/app.py
  3. os.geteuid() is called directly which does not exist on Windows

Proposed Fix

  • Make uvloop import optional with a try/except fallback
  • Add win32 and cygwin to supported platforms
  • Use hasattr(os, 'geteuid') before calling os.geteuid()

Environment

  • OS: Windows 11
  • Python: 3.13.5
  • Nettacker version: 0.4.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with core/lib/http.py and core/app.py, then trace the platform checks and the direct os.geteuid() call described in the issue. Verify the proposed compatibility changes on Windows 11 with Python 3.13.5; done means Nettacker no longer exits for Windows and can run without uvloop.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.