Security Basics mailing list archives

Re:Scan to determine version of IE installed


From: "Jack Cullen" <jack_cullen () hotmail com>
Date: Wed, 04 Aug 2004 18:50:27 -0400

I'm sure this is lame scripting but I was just working on that exact same thing. For Windows 2000 msinfo32.exe can be used. The program winmsd.exe will call msinfo32.exe and is already in the path (c:\winnt\system32) therefore I use it. The initial report will also show 3rd party web browser plugins and even spyware/skankware. It's also handy to grab Windows 2k service pack levels. MSINFO will get you the version numbers of the IE installed and the IE version history link below will translate that into English (Example: 6.0.2800.1106 = IE 6.0 SP1). Some examples below, actual mileage may vary.
****************************
Internet Explorer Versions:
winmsd /report pcname.txt /categories +InternetExplorer /computer pcname
type pcname.txt | find /i "version" | find /v /i "up" | find /v /i "fi" | find /v /i "jav" >pcname.log
Result = Version 6.0.2800.1106
****************************
Service Pack:
winmsd /report pcname.txt /categories +SystemSummary /computer pcname
type pcname.txt | find /i "version" | find /i /v "bios" >pcname.log
Result = Version 5.0.2195 Service Pack 4 Build 2195
****************************
Both:
winmsd /report pcname.txt /categories +SystemSummary+InternetExplorer /computer pcname type pcname.txt | find /i "version" | find /v /i "up" | find /v /i "fi" | find /v /i "jav" | find /i /v "bios" >pcname.log
Result = Version        5.0.2195 Service Pack 4 Build 2195
            Version     6.0.2800.1106
****************************
Using IP subnets, 50 IP addresses at a time:
for /l %i in (1,1,50) do winmsd /report 10.1.1.%i /categories +InternetExplorer /computer 10.101.101.%i
pause
for /l %i in (51,1,100) do winmsd /report 10.1.1.%i /categories +InternetExplorer /computer 10.101.101.%i
pause
etc...
for /f %i in ('dir 10* /b /o:n') do type %i | find /i "version" | find /v /i "up" | find /v /i "fi" | find /v /i "jav" >subdir\%i for /f %i in ('dir subdir\10* /b /o:n') do (I'm not sure but the result is a log as below)
Result = 10.1.1.1 Version 6.0.2800.1106
            10.1.1.2 Version 6.0.2800.1106
            10.1.1.3 Version 5.50.4807.2300
            etc
****************************
MSINFO32 Links:
Windows 2000 Command-Line Parameters for MSINFO32.EXE
http://support.microsoft.com/default.aspx?scid=kb;en-us;255713&Product=win2000
Gathering System Information Without GUI Interaction
http://support.microsoft.com/default.aspx?scid=kb;en-us;253534&Product=win2000

Internet Explorer Version History Link:
How to Determine Which Version of Internet Explorer is Installed
http://support.microsoft.com/default.aspx?scid=kb;en-us;164539&Product=ie

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off any course! All of our class sizes are guaranteed to be 10 students or less to facilitate one-on-one interaction with one of our expert instructors. Attend a course taught by an expert instructor with years of in-the-field pen testing experience in our state of the art hacking lab. Master the skills of an Ethical Hacker to better assess the security of your organization. Visit us at: http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------


Current thread: