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?
- To prevent user spamming with same unhandled exception
- To help developers to concentrate on real issues, not duplicates
- 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
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?
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