Chimaera Posted June 9, 2015 Share Posted June 9, 2015 I was looking at grabbing the keys under the Browser Helper Objects Key and i came across this anomalyWhat im heading towards is reading all the keys under this key and saving them to csvHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper ObjectsNow i started looking for the 2 example keys i could seeLocal $test = RegEnumKey('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects',2) ConsoleWrite($test & @CRLF) Local $test = RegEnumKey('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects',5) ConsoleWrite($test & @CRLF)and this is how i found the keys but there seems to be more keys hidden here than i can see as No's 1,3,4 also contain keysWhy is this? and is it possible to capture the hidden ones as well? If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
jguinch Posted June 9, 2015 Share Posted June 9, 2015 HKLM <> HKLM64 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Chimaera Posted June 9, 2015 Author Share Posted June 9, 2015 aah theres some more of the little sods If you have to specify a number at the end of the enumKey section am i going to have to do a loop till 100 or something to get them all? If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
jguinch Posted June 9, 2015 Share Posted June 9, 2015 The loop from 1 to 100 is not necessary (you saw this in the example of the help file, I suppose ?). It can be done like this :Local $iIndex = 1 Local $sKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Browser Helper Objects" Local $sSubKey While 1 $sSubKey = RegEnumKey($sKey, $iIndex) If @error Then ExitLoop $iIndex += 1 ConsoleWrite($sSubKey & @CRLF) WEnd Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now