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

macchanger -r freezes #13

Closed
hexdump opened this issue Jan 13, 2020 · 11 comments
Closed

macchanger -r freezes #13

hexdump opened this issue Jan 13, 2020 · 11 comments

Comments

@hexdump
Copy link

hexdump commented Jan 13, 2020

when i try to randomize my MAC address, macchanger seems to freeze. after running $ macchanger -r en0 and waiting for about ~30 seconds, no output is shown; hitting ^C stops the program, giving the following error:

^C/usr/local/bin/macchanger:56:in `system': Interrupt
	from /usr/local/bin/macchanger:56:in `set'
	from /usr/local/bin/macchanger:48:in `random'
	from /usr/local/bin/macchanger:51:in `random'
	from /usr/local/bin/macchanger:51:in `random'
	from /usr/local/bin/macchanger:51:in `random'
	... (100s of lines of the same)
	from /usr/local/bin/macchanger:51:in `random'
	from /usr/local/bin/macchanger:63:in `start'
	from /usr/local/bin/macchanger:83:in `<main>'

i'm running macchanger 1.3.2 on macOS 10.14.6 (18G3005). i installed by running brew install acrogenesis/macchanger/macchanger.

@acrogenesis
Copy link
Owner

Hello @hexdump I've tried replicating this problem in 10.15.2 but it worked well.
Are you getting asked for your password? Is your en0 device turned on?

@hexdump
Copy link
Author

hexdump commented Jan 15, 2020

ok, this is getting weird. i wasn't asked for my password yesterday and the day before, but i am getting asked for my password today. my en0 device is turned on, and i can set its address manually with -m/--mac.

@acrogenesis
Copy link
Owner

So it's working now?

@hexdump
Copy link
Author

hexdump commented Jan 16, 2020

no—still freezes.

@acrogenesis
Copy link
Owner

Which ruby version do you have? ruby -v

@hexdump
Copy link
Author

hexdump commented Jan 16, 2020

ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]

@jackall3n
Copy link

I am experiencing this as well. Ruby version is the same

@jackall3n
Copy link

@hexdump what OS version are you running? feross/SpoofMAC#87 (comment)

@hexdump
Copy link
Author

hexdump commented Feb 11, 2020

i'm running macchanger 1.3.2 on macOS 10.14.6 (18G3005).

@Glydric
Copy link

Glydric commented Apr 9, 2021

For me the problem was caused by inetutils that change the ifconfig path, in fact when macchanger call for ifconfig it is not in che /sbin/ifconfig but in a subdirectory of inetutils
if you do
which ifconfig
and it's inside a path like /usr/local/opt/inetutils/libexec/gnubin/ifconfig this is the error

I try to down my interface with
sudo ifconfig en0 down
and not work, but with
sudo /sbin/ifconfig en0 down
it worked

@acrogenesis
Copy link
Owner

Thanks @leomiglio02 I've changed the default to /sbin/ifconfig 30c657b

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

4 participants