GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 1.10.10 broken on Python 3.15 (ssl.PROTOCOL_TLSv1 removed) — every HTTPS target crashes; fix is in master, please tag a release · Issue #6165 · sqlmapproject/sqlmap

1.10.10 broken on Python 3.15 (ssl.PROTOCOL_TLSv1 removed) — every HTTPS target crashes; fix is in master, please tag a release #6165

New issue
Copy link
New issue
Copy link
Closed
Closed
1.10.10 broken on Python 3.15 (ssl.PROTOCOL_TLSv1 removed) — every HTTPS target crashes; fix is in master, please tag a release#6165
Copy link
Assignees
stamparm
Labels
support

Description

@b00yan
b00yan
opened on Oct 30, 2026
Issue body actions

Summary

Every HTTPS target crashes at startup on Python 3.15 with AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'. The fix already exists in master (11afdcb) — this issue is mainly to ask for a point release so downstream packagers pick it up.

Environment

  • sqlmap 1.10.10 (released tarball / Homebrew bottle — latest tag, predates the fix)
  • Python 3.15.2
  • macOS (Homebrew now defaults to [email protected] for the sqlmap formula, so every Homebrew user hits this on any HTTPS URL)

Traceback (trimmed)

File ".../lib/request/httpshandler.py", line 67, in connect
    for protocol in (_ for _ in _protocols if _ >= ssl.PROTOCOL_TLSv1):
                                                   ^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'. Did you mean: '.PROTOCOL_TLS'?

Triggered via checkConnection -> Request.queryPage -> Connect.getPage -> https_open -> connect().

Root cause

Python 3.15 removed the legacy ssl.PROTOCOL_TLSv1 constant; the 1.10.10 lib/request/httpshandler.py used it as the numeric "minimum TLS version" filter when iterating _protocols.

Master replaced the numeric comparison with a membership test against the getattr-guarded _tlsProtocols list (commit 11afdcb) — verified working: I patched 1.10.10 the same way locally and a full scan against a local TLS server completes normally.

Ask

Please tag 1.10.11 (or similar) so Homebrew/Linux packagers can ship the fix. Until then, affected users can run master from git or apply the one-line fallback:

for protocol in (_ for _ in _protocols if _ >= getattr(ssl, "PROTOCOL_TLSv1", ssl.PROTOCOL_TLS_CLIENT)):

Thanks!

Activity

  1. stamparm
    closed this as completedin 2ff5db1on Oct 30, 2026
  2. stamparm
    added a commit that references this issue on Oct 30, 2026

    Release 1.10.11 (#6165)

    6faa9bb
  3. stamparm commented on Oct 30, 2026

    @stamparm
    stamparm
    on Oct 30, 2026
    Member
    More actions

    done:

    Image
  4. stamparm
    self-assigned this
    on Oct 30, 2026
  5. stamparm
    added
    support
    on Oct 30, 2026
  6. timothybrush
    added a commit that references this issue on Oct 30, 2026

    Fixes sqlmapproject#6165

    This issue will close once commit 2ff5db1 is merged into the 'master' branch.
    2ff5db1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stamparm
    stamparm

Labels

support

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.