Skip to content

Monster-in-the-middle native messaging and spy on your favorite browser extensions.

License

Notifications You must be signed in to change notification settings

KarimPwnz/nativemessaging-mitm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nativemessaging-mitm

Monster-in-the-middle native messaging and spy on your favorite browser extensions.

Log file example

Instructions

  1. Clone this repository: git clone https://github.com/KarimPwnz/nativemessaging-mitm

  2. Open configs.json and add the target app manifest path, the name of the target extension, and the app manifest's original app path:

{
    "/Users/example/Library/Application Support/Mozilla/NativeMessagingHosts/example.json": {
        "name": "example",
        "originalApp": "/Applications/example.app/example"
    }
}
  1. Change the app path in your target's app manfiest to the repository's mitm.js script:
{
    "name": "com.example",
    "description": "Example",
    "path": "/path/to/nativemessaging-mitm/mitm.js",
    "type": "stdio",
    "allowed_extensions": ["example@example.com"]
}
  1. Done! Run the target browser extension and logs/${extension_name}.log will start logging:
$ tail -f /path/to/nativemessaging-mitm/logs/example.log

[1] ← (APP): {"hello":"extension"}

[2] → (EXTENSION): {"hello":"app"}

[3] ← (APP): {"okay":"bye"}

About

Monster-in-the-middle native messaging and spy on your favorite browser extensions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published