→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎05-15-2018 05:11 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.SP,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
tblSoftwareUni.SoftwarePublisher As Publisher,
tblSoftware.Lastchanged
From tblAssets
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On (
tblSoftwareUni.SoftID = tblSoftware.softID And (
(tblSoftwareUni.softwareName Like '%Acrobat Reader%' Or tblSoftwareUni.softwareName Like '%Acrobat%') And
tblSoftwareUni.softwareName Not Like '%Extended Asian%' And
tblSoftwareUni.softwareName Not Like '%Acrobat.com%' And
tblSoftwareUni.softwareName Not Like '%MUI%'
)
)
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where
tblAssetCustom.State = 1 And
Convert(Int,replace (tblSoftware.softwareVersion,'.','')) <= 1801120038
Order By
tblAssets.Domain,
tblAssets.AssetName,
Software
Solved! Go to Solution.
‎06-04-2018 02:18 PM
Sylvie wrote:
Hi,
Here is my report for this vulnerabilty:
- avoid using substring and use replace instead --> legacy Adobe products taken into account
- filter the softwarename directly within the Inner Join --> faster and avoid "Convert(Int,..." to be analysed first
- add some exceptions to the filter : acrobat.com and %MUI% products
‎06-04-2018 01:52 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.SP,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
Convert(Int,replace (tblSoftware.softwareVersion,'.','')) as intVersion,
tblSoftwareUni.SoftwarePublisher As Publisher,
tblSoftware.Lastchanged
From tblAssets
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On (tblSoftwareUni.SoftID = tblSoftware.softID And ((tblSoftwareUni.softwareName Like '%Acrobat Reader%' Or tblSoftwareUni.softwareName Like '%Acrobat%') And
tblSoftwareUni.softwareName Not Like '%Extended Asian%' And
tblSoftwareUni.softwareName Not Like '%Acrobat.com%' And
tblSoftwareUni.softwareName Not Like '%MUI%'))
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where
tblAssetCustom.State = 1 And
Convert(Int,replace (tblSoftware.softwareVersion,'.','')) <= 1801120038
Order By tblAssets.Domain,
tblAssets.AssetName,
Software
‎06-04-2018 02:18 PM
Sylvie wrote:
Hi,
Here is my report for this vulnerabilty:
- avoid using substring and use replace instead --> legacy Adobe products taken into account
- filter the softwarename directly within the Inner Join --> faster and avoid "Convert(Int,..." to be analysed first
- add some exceptions to the filter : acrobat.com and %MUI% products
‎05-30-2018 01:23 PM
‎05-30-2018 01:42 PM
MatijaS wrote:
This happens when executing the report. Yes we are using the latest version of Lansweeper.
‎06-01-2018 09:28 AM
caverna wrote:MatijaS wrote:
This happens when executing the report. Yes we are using the latest version of Lansweeper.
Please look at lines 24, 25 and 26.
This is a dirt trick (borrowed from 7-zip report) to check version number.
I'm pretty that if you remove the lines from 19 to 27, you will be able to see which version number is causing problem.
‎05-21-2018 08:05 AM
‎05-21-2018 01:49 PM
MatijaS wrote:
Hi,
I`m getting this error "Error: Conversion failed when converting the nvarchar value '7.0.667' to data type int."
‎05-17-2018 12:42 PM
‎05-17-2018 12:24 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now