Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help about setup NativeMessagingHosts with Regedit on windwos 10 #98

Open
hamedsbt opened this issue Nov 6, 2020 · 0 comments
Open

Comments

@hamedsbt
Copy link

hamedsbt commented Nov 6, 2020

I changed NativeMessagingHosts to support westbyte-internet-download-manager:

NativeMessaging in win10 Regedit:

chrome:
[HKEY_CURRENT_USER\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.ugetdm.chrome]
@="D:\\SFT\\IDA_integrator\\chrome_manifest.json"

edge:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.ugetdm.chrome]
@="D:\\SFT\\IDA_integrator\\edge_manifest.json"

chrome_manifest.json content:

{
  "name": "com.ugetdm.chrome",
  "description": "IDA Native Messaging Host Server",
  "path": "D:\\SFT\\IDA_integrator\\handler.bat",
  "type": "stdio",
  "allowed_origins": ["chrome-extension://efjgjleilhflffpbnkaofpmdnajdpepi/","chrome-extension://akcbnhoidebjpiefdkmaaicfgdpbnoac/"]
}

edge_manifest.json content:

{
  "name": "com.ugetdm.chrome",
  "description": "IDA Native Messaging Host Server",
  "path": "D:\\SFT\\IDA_integrator\\handler.bat",
  "type": "stdio",
  "allowed_origins": ["chrome-extension://efjgjleilhflffpbnkaofpmdnajdpepi/","chrome-extension://akcbnhoidebjpiefdkmaaicfgdpbnoac/"]
}

handler.py Line 36:
UGET_COMMAND = 'D:\\SFT\\IDA_Portable\\ida.exe'

handler.bat content:

@echo off
"%~dp0python-3.6.4\python.exe" "%~dp0handler.py"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant