-
-
Notifications
You must be signed in to change notification settings - Fork 95
Nmap not working #19
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
Comments
@SOUL-HAKER sorry to say that we are not supporting root users now cause this project is currently on non-root termux users only from GitHub issue platform But here are suggestions for chroot 1 Missing GID's
So try doing ->
if you don't want to do everything on your own (like setting these things up) Be careful you may brick your phone and we do not take responsibility for that |
But my phone isn't rooted |
You mentioned chroot |
Sorry it's my mistake the problem is that nmap is not working inside the chroot environment |
ya you did it again
It's called prooted environment if you are not using root say us more like what Linux distro you are using |
root@localhost:~# |
can you share what options you used! |
I suggest you make a non-root user to make things work
->
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
hippo ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "@include" directives: You can login with
|
Nmap now works as non-root 🙂 |
Good to hear that👍 |
You can closed the issue if your got it working |
Ok and thanks 😊 for your kind assistance |
I am useing a rooted device and then when i need to scan anything which need root permission i tried It gives this result Starting Nmap 7.93 ( https://nmap.org ) at 2023-04-03 17:07 IST And when ever i use sudo or as root to use nmap . It gives error like nmap: netutil.cc:3197: int route_dst_netlink(const sockaddr_storage*, route_nfo*, const char*, const sockaddr_storage*): Assertion `p != NULL' failed. Can any one help. I thought libpcap might stop the error but no , libpcap is already installed in termux and many more utilities but the error comes. Again and again. |
Nmap is not working inside the chroot when I run namp IP it shows an error
Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-21 10:48 IST
nmap: netutil.cc:3265: int route_dst_netlink(const sockaddr_storage*, route_nfo*, const char*, const sockaddr_storage*): Assertion `p != NULL' failed.
Aborted
Any fix for this issue
The text was updated successfully, but these errors were encountered: