Improve the success rate of using the script in China
Closed this issue · 2 comments
OPPO9008 commented
LiarOnce commented
It works, and need to modify two lines of code.
Line 27 in 2851dc7
Change to:
curl -L "https://(device IP):8080/script_tools/busybox-mipsel" --insecure --output busybox
Line 54 in 2851dc7
Change to:
curl -L "https://(device IP):8080/script_tools/dropbearStaticMipsel.tar.bz2" --output dropbear.tar.bz2
Start a simple HTTP server through Python at the root of the repository:
#Python 2
python -m SimpleHTTPServer 8080
#Python 3
python3 -m http.server 8080
The device IP is the LAN IP address of the device you're using(e.g. 192.168.31.36), not the IP address of the router.
acecilia commented
How are you opening this GitHub issue if GitHub is blocked in China? 🤔
Thanks @LiarOnce for the solution.
@OPPO9008 use a VPN then 🙂 Hosting the binaries somewhere else doesn’t make sense because this exploit is itself hosted in GitHub: if you can download the exploit, you can also download the binaries