Skip to content

With the help of Gary Steinmetz I was able to get this code and understand it and use it.

Notifications You must be signed in to change notification settings

zbram101/piggyback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

piggyback-loopback

sudo npm run piggyback-loopback sudo npm run piggyback-loopback TARGET_IP= sudo npm run piggyback-loopback TARGET_IP= "OUTPUT_DIR="

(FILTER_FILE too)

How to Use

  1. ping the destination, record the specific IP address
  2. change the '/etc/hosts' file mapping hostname to IP address '127.0.0.1'
  3. change the 'reqOptions.hostname' assigned value in 'piggyback-loopback.js' to the value recorded earlier
  4. start the piggyback-loopback server
  5. open a browser in incognito mode, open a second tab, go to a valid URL location at the hostname, accept the certificate (so that this certificate will be considered by the browser in the standard case)
  6. use the web site in the other (original) browser tab
  7. stop the server and undo previous edit to '/etc/hosts'

run command: npm run piggyback-loopback TARGET_IP=172.20.210.161 FILTER_FILE=./filter-file-example.js OUTPUT_DIR=./temp1

About

With the help of Gary Steinmetz I was able to get this code and understand it and use it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published