nmap / nmap/nmap

|_mysql-audit: ERROR: Script execution failed

Open
#2,726 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.6k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

when I run this script :

nmap -p 3306 --script mysql-audit --script-args "mysql-audit.username='omar',mysql-audit.password='omar1911',mysql-audit.filename='/usr/share/nmap/nselib/data/mysql-cis.audit'" 192.168.0.101

it gives me this output:

PORT STATE SERVICE
3306/tcp open mysql
|_mysql-audit: ERROR: Script execution failed (use -d to debug)
MAC Address: D8:3A:DD:1D:44:2E (Unknown)

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

Reproduce the command shown with Nmap's -d option, then inspect the mysql-audit script and /usr/share/nmap/nselib/data/mysql-cis.audit for the reported failure. Use the debug output to identify the failing step; done means the command completes successfully or the issue has a documented, reproducible error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, mysql
Domain
databases, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.