I have this .bat file which scans one of mine applications at work.
I'm comparing two ways I've generated the .fpr file:
- Using Scan Wizard
- Using the HP Fortify Plugin for Visual Studio.
What is happening is that when the .fpr file is generated by Scan Wizard's .bat file it seems to ignore completely all my .aspx, aspx.cs and .cs files inside the application .
My app is an old Web Forms, which in order to publish it, we need to select that precompiled option in Visual Studio.
I've already tried Eric's solution in the post. HP Fortify scans get ASP Pre-Compilation error
But still nothing.
I've already tryed to generate the bat file before and after the publish, but both returned the same number of vulnerabilities. Something around 15. After the publish it generates dll's to all pages though, which means that theorically it should detect all the application code.
In the other hand, when I've generated the .fpr file through the Visual Studio plugin, it returns me about 600 vulnerabilities.
My real problem is that we need to run over the .bat file, not the Visual Studio, because we have a continuous integration process, in which we build the app, run code analyze and then the HP Fortify to complete the process, so I need that the number of vulnerabilities returned running the plugin to be the same one when I run with the .bat file.
Any help would be very appreciated.
Thank you for your time !