Author |
Topic |
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 July 2008 : 04:17:13
|
looks pretty good, I tried it against a file I knew was vunerable and it found the problem.
I then ran it against the base forum files which were ALL ok< |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 01 July 2008 : 04:26:23
|
Yeah, it may help with the recent batch of SQL Injection attacks. The info about the forum files is reassuring, even more so because it confirms my own findings on the 2 or 3 times I ran a manual analysis .< |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 01 July 2008 : 07:59:20
|
I haven't had a chance to read the directions in-depth, but it looks like it only checks one page at a time. Did you guys set up a batch file or some other automation script to run it through all the files?< |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 July 2008 : 08:05:13
|
no, I did it by hand you don't need to do the inc_xxxxx files as it does that for you< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 July 2008 : 08:15:04
|
it is definately the best one I have tried so far, the last ones I tried were worse than useless.< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 01 July 2008 : 11:17:55
|
Looks like they posted some VBScript to run through a directory - from http://blogs.msdn.com/sqlsecurity/archive/2008/06/27/getting-started-with-microsoft-source-code-analyzer-for-sql-injection.aspx
quote: Create a VBScript file (.vbs) with the above content, place it in the folder where the tool is located and execute the script providing absolute path of the folder containing ASP code. The script will generate the file output.txt with the concatenated tool output in the folder where the tool and script files are located. Please modify the script according to your needs, for example, if your ASP code uses virtual file includes or if you have a global.asa then you will need to pass /IncludePaths and /GlobalAsaPaths parameters to the tool in ASPScan function.
< |
Edited by - AnonJr on 01 July 2008 11:18:51 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 July 2008 : 11:22:03
|
cool, although it didn't take very long to run through the forum files by hand, without the inc_xxxxx files and the admin files there are only about 30 files that need testing< |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 July 2008 : 14:10:53
|
yes, seems to work spot on too.< |
|
|
RArch
Junior Member
United Kingdom
103 Posts |
Posted - 01 July 2008 : 17:35:27
|
Guys what am I doing wrong! ?
=== DOS box === C:\forum>MSSCASI_ASP.exe /input="post_info.asp" Microsoft (R) Source Code Analyzer for SQL Injection Version 1.3.30601.30622 Copyright (C) Microsoft Corporation. All rights reserved.
** msscasi_asp failure: Count must be positive and count must refer to a location within the string/array/collection. Parameter name: count ** msscasi_asp failure: cannot load file "post_info.asp". =================
I've moved the forum folder under to the root of C since it was nested very deep with My Documents. I've tried adding the path to msscasi_asp to the environment variable path, also tried with the files within the forum folder and I still get the same error!
Any ideas? < |
|
|
RArch
Junior Member
United Kingdom
103 Posts |
Posted - 01 July 2008 : 17:37:13
|
Also tried the following but I get the same error!
MSSCASI_ASP.exe /input="c:\forum\post_info.asp"< |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 01 July 2008 : 18:20:34
|
Please don't use this thread to ask for help using the tool. This is an Announcements thread. The tool has a readme file and is supported by Microsoft.
I would add that the app doesn't need to be in the same folder as the asp files, but the readme has all the relevant info.< |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Astralis
Senior Member
USA
1218 Posts |
Posted - 02 July 2008 : 14:50:17
|
This is good. I had a dream last night that I found that "script" injection all over my sites again. It requires NET 3.0, but does anyone know if you have NET 3.5, will it matter?< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 02 July 2008 : 14:56:44
|
Last I checked, it shouldn't matter... but we all know how that goes. < |
|
|
Topic |
|