|
-
Jun 11th, 2005, 09:39 AM
#1
Thread Starter
Hyperactive Member
registry search
all the softs that search the registry for bugs scan the whole registry for it .can such things be done invb ?????if yes then please tell a little in detail......
thanksssssssssssss
-
Jun 11th, 2005, 09:57 AM
#2
Re: registry search
I think you wouldneed to enumerate all the registry keys, put the return values into an 2d array or something (Key and Value) and then search through that.
-
Jun 12th, 2005, 12:52 PM
#3
Thread Starter
Hyperactive Member
Re: registry search
how is that done . can u explain it in a little detail ???? if an example is available then it would be great.
-
Jun 13th, 2005, 08:58 AM
#4
Re: registry search
have a look at some of the examples at vbnet to see if you can get any ideas to help
pete
-
Jun 13th, 2005, 12:43 PM
#5
Thread Starter
Hyperactive Member
-
Jun 13th, 2005, 07:29 PM
#6
Re: registry search
i did a google on enumerate registry vb and came up with a lot of hits with code samples, but working with the registry is at least a bit cofusing,
also it pays to back up your registry before doing this
pete
-
Jun 14th, 2005, 01:29 AM
#7
Thread Starter
Hyperactive Member
Re: registry search
that's the problem , iwant to enumerate the reg. and then search for broken shortcuts, invalid file associations, missing dlls etc . all the things that a registry cleaner software can do . there are codes to enumerate reg on psc but not on the later one .
hope u guys get something..........
-
Jun 14th, 2005, 01:56 AM
#8
-
Jun 14th, 2005, 04:24 AM
#9
Re: registry search
hmm sounds like you would have to read every value and if it points to anysort of a file check if that file exists, but that still wouldn't tell you if tha file was being used for anything or whether it too was an orphan, deleteing the unconnected keys is easy to do as long as you are sure it is not needed.
many of the spyware program such as spybot and spy doctor read the registry and compare the keys and values to a database of known spyware and other trojans, which can find hundreds of entries, even if the spyware has been removed
i recently scanned my system and had over 400 registry entries and files that were related to spyware, even though none of those prorams was still running
but all the different programs can get different results
pete
-
Jun 15th, 2005, 10:11 AM
#10
Thread Starter
Hyperactive Member
-
Jun 15th, 2005, 10:35 AM
#11
Re: registry search
a lot of study
do searches on enumerating registry keys and values, to see if you can find some good code examples, allapi has some code for enumerating all the values of a key, but i don't think i have seen any for enumerating the keys.
check the code bank to see any one has done anything that will help, and check the api forum too as registry is all api stuff, there is at least on third party tool to create a registry object, which may make it a lot easier to do, but i have no idea if any would be free
pete
-
Jun 15th, 2005, 10:23 PM
#12
Thread Starter
Hyperactive Member
Re: registry search
i got the code to enumerate reg. , but now the problem is how to get the entries that are wrong ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|