Make HTTP requests with a network-enabled and a non-network-enabled computer using a USB flash drive!
python3 -m pip install -r requirements.txt
or, on Windows:
python -m pip install -r requirements.txt
- Format a removable drive to FAT32 for maximum compatibility.
- 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.
- 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.
- An HTTP proxy will be started on the device without internet access. Connect to it using the address
localhost:8080
(or hostlocalhost
and port8080
). - Make a request, open a website, whatever.
- Remove the removable drive and insert it into the computer with internet and the program running.
- Wait for it to complete all requests.
- Insert the drive into the computer without itnernet access.
- All requests should now return a response.