acecilia/OpenWRTInvasion

Improve the success rate of using the script in China

Closed this issue · 2 comments

everyone know github Blocked in china 。 so this not good。
i think shout
python -m SimpleHTTPServer

change this to
curl -L http://my_ip:8000/script_tools/dropbearStaticMipsel.tar.bz2 --output dropbear.tar.bz2

It works, and need to modify two lines of code.

curl -L "https://github.com/acecilia/OpenWRTInvasion/raw/master/script_tools/busybox-mipsel" --insecure --output busybox

Change to:

curl -L "https://(device IP):8080/script_tools/busybox-mipsel" --insecure --output busybox

curl -L "https://github.com/acecilia/OpenWRTInvasion/raw/master/script_tools/dropbearStaticMipsel.tar.bz2" --output dropbear.tar.bz2

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.

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