Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 1.21 KB

README.md

File metadata and controls

40 lines (36 loc) · 1.21 KB

PyHTTPoDisk

Make HTTP requests with a network-enabled and a non-network-enabled computer using a USB flash drive!

Dependencies installation

python3 -m pip install -r requirements.txt

or, on Windows:

python -m pip install -r requirements.txt

Running

  1. Format a removable drive to FAT32 for maximum compatibility.
  2. On the computer with internet, run:
python3 processor.py /media/user/FILES

or, on Windows:

python processor.py D:

where /media/user/FILES or D: is the drive mounting point.

  1. On the computer without internet, insert the removable drive and run:
python3 client.py /media/user/FILES

or, on Windows:

python client.py D:

where /media/user/FILES or D: is the drive mounting point.

  1. An HTTP proxy will be started on the device without internet access. Connect to it using the address localhost:8080 (or host localhost and port 8080).
  2. Make a request, open a website, whatever.
  3. Remove the removable drive and insert it into the computer with internet and the program running.
  4. Wait for it to complete all requests.
  5. Insert the drive into the computer without itnernet access.
  6. All requests should now return a response.