Skip to content

Unhandled exception (#baca008e) #6047

@sqlmapreporter

Description

@sqlmapreporter
Running version: 1.10.2#stable
Python version: 3.13.12
Operating system: Linux-6.18.12+kali-amd64-x86_64-with-glibc2.42
Command line: /usr/bin/sqlmap -r /home/****/桌面/3 --level=5 --risk=3 -temper=space2comment,randomcase,charunicodeencode
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
  File "sqlmap", line 222, in main
    start()
    ~~~~~^^
  File "/share/sqlmap/lib/core/decorators.py", line 99, in _
    result = f(*args, **kwargs)
  File "/share/sqlmap/lib/controller/controller.py", line 573, in start
    check = checkDynParam(place, parameter, value)
  File "/share/sqlmap/lib/controller/checks.py", line 1177, in checkDynParam
    payload = agent.payload(place, parameter, value, getUnicode(randInt))
  File "/share/sqlmap/lib/core/agent.py", line 264, in payload
    if random.random() < 0.5:
       ^^^^^^
NameError: name 'random' is not defined. Did you mean: 'randomInt'? Or did you forget to import 'random'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions