1.3.1 • Published 6 years ago
node-modheader v1.3.1
🍌 node-modheader
Send additional headers to a local http server with a simple proxy
🍌 Install
git clone git@github.com:coltonTB/node-modheader.git
npm install node-modheader
Option 1 - Import header rules from modheader chrome extension
- Click on the modheader browser extension
- Click on the button with three vertical buttons in the top right
- Click 'Export Profile'
- Save this data in node-modheader/profiles/{profilename}.json
node node-modheader -u profilename
Option 2 - Custom profiles
- Write some json
- Save it in /profiles as {profilename}.json (see node-modheader/profiles/example.json)
node node-modheader -u profilename
Option 3 - Custom json file
- Save a json object somehwere
node node-modheader -f ../path/to/your/file.json
🍌 CLI Options
-u choose a user profile by name
-f choose a file location for header definitions
-t choose the port of the process you would like to tunnel to
-p choose the port that node-modheaders listens on