Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log writing error ? #4023

Closed
Webaba opened this issue Dec 1, 2019 · 3 comments
Closed

Log writing error ? #4023

Webaba opened this issue Dec 1, 2019 · 3 comments
Labels

Comments

@Webaba
Copy link

@Webaba Webaba commented Dec 1, 2019

Describe the bug
sqlmap produces 3 different outputs. 2 in console 1 in the log

Log a2w§rT;~32Abg3123@alXk)
[INFO] retrieved: a2w
rT;~32Abg3123@alXk)
and the list you get when sqlmap is done a2w*§rT;~32Abg3123@alXk)

To Reproduce

  1. Dumped data with this commands
    sqlmap -u" URL " --level 5 --risk 3 --random-agent --referer="URL" "--headers=X-Requested-With: XMLHttpRequest" --batch --threads=5 --dump -D -T -C --hex --null-connection

I have run it 3 times with these parameters and fresh queries

Expected behavior
That the right query output lands in the Log,

Screenshots

sdfsdfsdfs

sdasdasdas

Running environment:

  • sqlmap version 1.3.8.13#dev
  • Installation method Download from git
  • Operating system: [Windows 7]
  • Python version [e.g.2.7]

Target details:
web server operating system: Linux CentOS 6.8
web application technology: PHP 5.3.3, PHP, Apache 2.2.15
back-end DBMS: MySQL 5

  • SQLi techniques found by sqlmap [time-based blind, boolean-based blind]
  • WAF/IPS [if any]
  • Relevant console output
  • Exception traceback [if any]

Additional context

@Webaba Webaba added the bug report label Dec 1, 2019
@stamparm
Copy link
Member

@stamparm stamparm commented Dec 2, 2019

Your console has one encoding, file has other (i.e. UTF8). Also, you are running on Windows machine which inherently has problems with display of arbitrary Unicode characters

@stamparm
Copy link
Member

@stamparm stamparm commented Dec 2, 2019

p.s. file output is more relevant in such situations

@Webaba
Copy link
Author

@Webaba Webaba commented Dec 2, 2019

Thank you. good to know that the log is the relevant place to look not the console.

@stamparm stamparm closed this Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.