Я не могу найти дубликат строки с python

Я хочу найти дубликат строки из 2 файла с python путем печати resrc_lst[i]из файла json и line.split(' ' ,2)[2]разделить строку из текстового файла. Это мой код.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

Я уверен, что у 2 файла есть все повторяющиеся строки, когда я запускаю код, который он показывает, как это.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo

I want to find duplicate string from 2 file with python by print resrc_lst[i] from json file and line.split(' ' ,2)[2] split string from text file. This is my code.

for i in range(len(resrc_lst)):
    print(resrc_lst[i])

    if(resrc_lst[i] != ""):   

        with open("clicker_out.txt", "r", encoding="utf8") as search_lst: 
            for line in search_lst:

                if resrc_lst[i].strip() in line.split(' ' ,2)[2]:
                    print(line.split(' ' ,2)[2])

I'm sure 2 file have all duplicate string when I run the code it show like this.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshProcName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHandleMgr

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServiceEnable

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerCryptoAlgo

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoaming

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistServicePolicyRefreshInProgress

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrPublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousDownloads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerBlockSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCache

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCooperativeCaching

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPublisher

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxPendingOffers

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonUserenvDebugLevel

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheMaxSimultaneousUploads

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestrictedSeed

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDownload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistCacheMgrRepublication

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerRestricted

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingRefreshDllName

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheServerRole

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerProtocol

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerDiscoveryProviderDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerMinBackoffWindow

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheDoNotUseSSL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistHostedCacheClientAuth

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerTransportDllPath

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistService

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerDiscovery

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistPolicyProvider

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUpload

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManager

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistSecurityManagerNumBlocksPerSegment

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerUtilityIndex

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistRoamingForceRoamingDetect

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPeerDistDiscoveryManagerRepubQuorumSize

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh4

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshwfp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdhcpclient

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwshelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshhttp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShfwcfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShauthfwcfg

C:Windowssystem32
C:Windowssystem32

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSourcePath

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion

HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetup

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevicePath

HKEY_LOCAL_MACHINESystemSetup
HKEY_LOCAL_MACHINESystemSetup

HKEY_LOCAL_MACHINESYSTEMSetupUpgrade
HKEY_LOCAL_MACHINESYSTEMSetupUpgrade

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetSh2

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnetiohlp

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwhhelper

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShhnetmon

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShrpc

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShdot3cfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapLdapClientIntegrity

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseOldHostResolutionOrder

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLDAP

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesldapUseHostnameAsAlias

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnapmontr

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsIPSECPolicyLocal

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnshipsec

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShnettrace

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShWcnNetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShp2pnetsh

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwlancfg

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNetShwwancfg

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesiphlpsvcConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesiphlpsvcconfigConnectivity_Platform_Enabled

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7캰=谘=齎

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.44.3.4!7Name

C:WindowsSystem32p2pcollab.dll
C:WindowsSystem32p2pcollab.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7(Default)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.47.1.1!7Name

C:WindowsSystem32QAGENTRT.DLL
C:WindowsSystem32QAGENTRT.DLL

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.64.1.1!7Name

C:WindowsSystem32dnsapi.dll
C:WindowsSystem32dnsapi.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7 0Cryptﮐ

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.1!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name
HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptographyOIDEncodingType 0CryptDllFindOIDInfo1.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs79617Validator Clsid

...

I print 2 value in code it should show same string in 2 line. why some line not show duplicate string.

.3.6.1.4.1.311.67.1.2!7Name

C:WindowsSystem32fveui.dll
C:WindowsSystem32fveui.dll

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNapAgentLocalConfig

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfig(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnrollHcsGroups(Default)

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigEnable Tracing

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentLocalConfigTracing Level

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs617
HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs617Description

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs617Registration Date

HKEY_LOCAL_MACHINESYSTEMControlSet001servicesnapagentQecs617Validator Clsid

...

Я печатаю значение 2 в коде он должен показать ту же строку в строке 2. почему некоторые строки не показывают повторяющиеся строки.

1 ответ

  1. Поскольку используется оператор in, который не используется для проверки повторяющихся строк.

    Здесь:

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\napagent\Qecs617
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\napagent\Qecs617\Description

    Строка HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\napagent\Qecs617 появляется в строке HKEY_LOCAL_MACHINE \ SYSTEM\ControlSet001\services\napagent\Qecs617\Description, но не дублируется

    Вы можете попробовать с:

    if resrc_lst[i].strip() == line.split(' ' ,2)[2]: