Skip to content

[bug] In docker , already be root , but cannot execute! #7

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

Open
Xyberonz opened this issue Feb 27, 2024 · 0 comments
Open

[bug] In docker , already be root , but cannot execute! #7

Xyberonz opened this issue Feb 27, 2024 · 0 comments

Comments

@Xyberonz
Copy link

# docker exec -it ubuntu23 /bin/bash

# whoami
> root

#  ls -alh /usr/bin/arp-scan
> -rwxr-xr-x 1 root root 4.6M Feb 26 14:55 /usr/bin/arp-scan

# arp-scan
>   Should run this binary as root or use --help for options

# su - root -c "arpscan"
> Selected interface ens33 with IP 192.168.1.19/24 (everything is fine)
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

1 participant