Skip to content

Conversation

@n-thumann
Copy link
Contributor

This PR changes the way the sqlmap checks the Tor connection.
Currently, https://check.torproject.org/ is fetched and checked, whether it contains Congratulations.
With this PR, https://check.torproject.org/api/ip is used instead, because I think using a JSON API is much cleaner, more reliable / stable and consumes less data.

The --check-tor has been first implemented in 86b4a35, before the JSON API (https://gitlab.torproject.org/tpo/network-health/metrics/tor-check/-/commit/727327d4f1f3ecd5209f5ea2e827676019c56459) has been added to check.torproject.org.

@stamparm
Copy link
Member

stamparm commented Jun 16, 2025

there is no check for invalid JSON:
image

@stamparm stamparm merged commit b840274 into sqlmapproject:master Jun 16, 2025
stamparm added a commit that referenced this pull request Jun 16, 2025
pull bot pushed a commit to googlesky/sqlmap that referenced this pull request Jun 16, 2025
pull bot pushed a commit to googlesky/sqlmap that referenced this pull request Jun 16, 2025
tanaydin pushed a commit to tanaydin/sqlmap that referenced this pull request Jul 14, 2025
tanaydin pushed a commit to tanaydin/sqlmap that referenced this pull request Jul 14, 2025
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.

2 participants