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

File merging #5882

Open
CAF3SP0RE opened this issue Mar 26, 2025 · 2 comments
Open

File merging #5882

CAF3SP0RE opened this issue Mar 26, 2025 · 2 comments

Comments

@CAF3SP0RE
Copy link

This feature request came to my mind because sqlmap can lose connection to the target a lot of times for may reasons, making the user wait to re-run the tool. However, there is no way to resume where we last left off, leading to the entire database getting re-dumped by sqlmap, making excessive duplicate files in sqlmap output

My idea was to include a flag like "--merge". This option would look for any duplicate files and merge them to only make one. Ex: "file.csv" "file1.csv" --> "file.csv"

An alternative that would resolve this issue would be to add an option to resume where sqlmap last stopped. Effectively saving time and bandwidth, aswell as imposing less stress on the target

Image

(i had a lot of duplicate files before taking this screenshot. I had to wipe the entire folder to start off clean again)

@stamparm
Copy link
Member

stamparm commented Mar 26, 2025 via email

@CAF3SP0RE
Copy link
Author

CAF3SP0RE commented Mar 26, 2025

sqlmap is using session file, reducing "stress" on target when rerunning.
if there is a non-empty query result in session, sqlmap will reuse it. why
you say that it redumps everything?

Maybe im saying this because it does lol

Image

@CAF3SP0RE CAF3SP0RE reopened this Mar 26, 2025
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

2 participants