Before you start reading this I want to make sure the whole project is based upon this grep command.
grep -irnE “regexp” ./pathtoFolder. I haven’t done anything new or I m not even bragging. I m starting and posting this for feedbacks and features which are going to be added in the upcoming versions. Feel free to give any suggestions, feedback.
I have only added a user interface where you can click a button which is mentioning your desired file and a visual studio code’s window will be opened and the cursor will directly point to that line number. You can add a breakpoint directly to the line number in visual studio code.
The example is shown here is mentioning Damn Vulnerable NodeJS Application
1. Let us hunt some SQL operations and functions.
After Clicking on Open In Visual Studio. The File will be opened and the cursor will be prompt on the desired line.
2. Searching for the dangerous eval function in the code.
When Open In Visual Studio Code is Clicked.
3 When Authentication related functions are searched.
You can search for multiple things at once by simply giving a regex.
Github repo https://github.com/MohitDabas/sastgriper