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

one issue on sharkjack.sh #8

Open
xteeio opened this issue Nov 16, 2019 · 1 comment
Open

one issue on sharkjack.sh #8

xteeio opened this issue Nov 16, 2019 · 1 comment

Comments

@xteeio
Copy link

xteeio commented Nov 16, 2019

I think you need to remove "-v" at the end of line 75, otherwise it won't get connected. You can also simply remove the whole "grep -v 172.16.24.1" at the end.

IFACE=$(ip route show to match 172.16.24.1 2>/dev/null| grep -i 172.16.24.1 | cut -d ' ' -f3 | grep -v 172.16.24.1)

@ngen-brett
Copy link

I’m curious why “-i” is required, unless we’ve begun using capitalized IP addresses and I overlooked the memo.

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