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

I want the result of --sql-query to be saved as a CSV file. #5424

Open
Nzoth9 opened this issue May 22, 2023 · 6 comments
Open

I want the result of --sql-query to be saved as a CSV file. #5424

Nzoth9 opened this issue May 22, 2023 · 6 comments

Comments

@Nzoth9
Copy link

Nzoth9 commented May 22, 2023

Hi! How are you doing? I don't know if I can make this request without a 1 dollar sponsor.
I would love to see sponsor marks on future my GitHub accounts.

As you may have noticed, the results of -D DB -T TB -C A,B --dump and --sql-query="SELECT A,B FROM DB.TB" are slightly different. The latter simply saves to the output and log file.

Currently, I want to save the results to a CSV file when the -D option is not available in SQLMAP (version detection failed [I'll try to debug it!]) or when using the ORDER BY syntax(with --sql-query).

Thank you as always. Dear Stampar👍🏼

@1579091
Copy link

1579091 commented Jun 4, 2023

nice idea

@anauwal
Copy link

anauwal commented Mar 13, 2024

please make this available

@Aridhi-Dhia-eddine
Copy link

Hello
I want to inderstand your prblem ; you mean that you have to use -D DB -T TB -C A,B --dump and you want to save the result in CSV File
or you have to use --sql-query="SELECT A,B FROM DB.TB" and you want to save the result in CSV file ?

@mastercho
Copy link

you have to use --sql-query="SELECT A,B FROM DB.TB" and you want to save the result in CSV file ?

That

@Aridhi-Dhia-eddine
Copy link

but as i know it accept only one attribute in the request is it what you want? you want to store this value in CSV file ?

@Aridhi-Dhia-eddine
Copy link

hello
just i want to know where the function "_saveToResultsFile" is called in the sqlmap project ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@1579091 @mastercho @Nzoth9 @anauwal @Aridhi-Dhia-eddine and others