-g returns no results

Open
#6,009 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli, security

Research direction

Start by reproducing sqlmap -g index.php?id= --random-agent with the reported sqlmap, Python, and Parrot OS versions, then inspect the code path invoked by -g. Compare Google and DuckDuckGo results with the expected usable links and confirm that the command returns varied, usable results rather than repeatedly returning the same few links.

Written by the indexing model from the issue text.

Description

bug report

Describe the bug
-g returns no results for google, no usable links found. And it also rarely returns anything on duckduckgo. in the provided example command it always returns the same 8 or 9 links.

To Reproduce

  1. Run 'sqlmap -g index.php?id= --random-agent'
  2. See error

Expected behavior
It should return a list of usable links on google.

Screenshots
N/A

Running environment:

  • sqlmap version 1.10.1.54#dev
  • Installation method pip
  • Operating system: parrot os (6.4)
  • Python version 3.11

Target details:
N/A

Additional context
Add any other context about the problem here.

Dominant language
Python
Stars
38.5k
Forks
6.4k
Avg merge
3d 3h
Merged PRs (30d)
1

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.

More from sqlmapproject/sqlmap

All issues in sqlmapproject/sqlmap

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.