Sqlmap: Idea for preventing duplicate issues

Created on 10 Oct 2016  路  2Comments  路  Source: sqlmapproject/sqlmap

Doing some searches on GitHub issues on sqlmap, i found out that ~31% (261 out of 826) of reported issues from @sqlmapreporter are/were duplicates

I saw an app (can't remember the name) that uses Github API to check whether issue was already opened on GitHub. Something similar can be implemented in sqlmap

_Why to implement this?_

  1. To prevent user spamming with same unhandled exception
  2. To help developers to concentrate on real issues, not duplicates
  3. Users with rss feed and watch on this repository are also spammed with lot of duplicate issues

_How to implement?_

Using GitHub Search API

_Scenario_
When exception appear in sqlmap, a question pop on the screen asking user whether want to report this exception as an issue or not. If user enter Y, then sqlmap should check for already open issue with same title (ex. Unhandled Exception (#abcdefgh)), then, if there is an open issue, show that to user with link, (ex: Issue was already reported. Check here: (link to issue)). Optionally, if issue is closed and there is a fix, show message to user that Issue was fixed, and user should update to latest commit

_Example Link for issue check:_
https://api.github.com/search/issues?q=repo:sqlmapproject/sqlmap%20Unhandled%20Exception+in:title

enhancement miscellaneous normal

Most helpful comment

@stormwin this is an example of great Issue, having good arguments and proper research being made. Everybody should follow your steps :)

All 2 comments

@stormwin this is an example of great Issue, having good arguments and proper research being made. Everybody should follow your steps :)

p.s. now, in case of a duplicate issue:

[WARNING] issue seems to be already reported

while in case of duplicate and closed:

[WARNING] issue seems to be already reported and resolved. Please update to the latest development version from official GitHub repository at 'https://github.com/sqlmapproject/sqlmap'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

GeoffreyVDB picture GeoffreyVDB  路  3Comments

stamparm picture stamparm  路  4Comments

WilliJoin picture WilliJoin  路  4Comments

JonhSilver picture JonhSilver  路  4Comments

ethicalhack3r picture ethicalhack3r  路  3Comments