Comments (6)
The Nmap UDP scan (nmap-top-20-udp) requires root privileges. This is normal behaviour for Nmap. You can ignore this and keep running autorecon unprivileged, but note that you will lack the UDP scan results.
I recommend running autorecon with sudo/as root. Not only you will get the UDP results, also the TCP scans will be faster and more stealthy because it will use a more effective scan technique.
More details: Nmap manual (TCP SYN scan & TCP Connect scan).
from autorecon.
kali 2020.4
autorecon - cloned from commit: 9bf5b64
i'm having a similiar issue, i can only get the udp scanning working when i am su to root.
calling autorecon via sudo autorecon x.x.x.x still throws the same error.
is that the expected behaviour?
from autorecon.
I've had this issue for a while and have not figured out the work around. I can't get it to run using sudo. Can someone explain how to fix this step by step? There are a lot of assumptions made when telling folks to add lines to profiles or /etc/sudoers. We need to to know exactly how to do that and what to add to the file.
from autorecon.
Did you follow the installation instructions at https://github.com/Tib3rius/AutoRecon? Tib3rius offers a step-by-step explanation directly on the GitHub page which worked just fine for me.
from autorecon.
This is directly from https://github.com/Tib3rius/AutoRecon:
Note that if you want to elevate privileges to run a program installed with pipx, with sudo, you have two options:
Append the appropriate path to your execution command, using one of the following examples (recommended):
$ sudo env "PATH=$PATH" autorecon [OPTIONS]
$ sudo $(which autorecon) [OPTIONS]
To make this easier, you could add the following alias to your ~/.profile (or equivalent):
alias sudo="sudo env \"PATH=$PATH\""
Add the pipx binary path to the secure_path set in /etc/sudoers
sudo visudo /etc/sudoers
Update the secure_path directive as follows:
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/kali/.local/bin"
If you're not using Kali Linux, make sure to adjust the path to the relevant user. Further detail on the installation of pipx is available in their installation instructions available here. Please refer to this for any issues you experience.
from autorecon.
Not sure it's a universal thing. But I can't install autorecon or semirecon by pipx. I have to install it with pip3.
Above changes for sudo also failing on me.
Linux vfkali 5.18.0-kali5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1kali5 (2022-07-04) x86_64 GNU/Linux
❯ pipx --version 1.1.0
Python 3.10.5
❯ echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/home/kali/.dotnet/tools:/home/alvin/.local/bin:/home/kali/.local/bin
Nvm, pip issue. Fixed by https://patrickriggs.com/blog/autorecon-broke/
and
python3 -m pip install --user --upgrade --force-reinstall pipx
from autorecon.
Related Issues (20)
- Tool no longer generates md reports HOT 1
- Either Slow startup or frozen with large networks HOT 2
- Too slow in ARM based kali linux HOT 1
- interface option HOT 1
- smbmap started hanging the scans HOT 4
- Issue with markdown report plugin - OffSec Proving Grounds Practice HOT 5
- Suggestion: running snmpbulkwalk to get ExtendObjects
- Thoughts on adding IPV6 checking HOT 3
- User agent configuration
- TypeError: can only concatenate str (not "list") to str HOT 2
- Is it possible to only create results folder for scans that have open ports?
- Where is the --profile option now? HOT 6
- Trouble getting heartbeat to work HOT 2
- dirbuster scans often never finish HOT 16
- smbmap hanging every scan i run HOT 2
- SyntaxWarning: Invalid Escape Sequence HOT 1
- dirbuster (feroxbuster) scans hang, doesn't generate any network traffic HOT 2
- Enter key temporarily sent to feroxbuster scanner HOT 2
- Error: There are no valid PortScan plugins in the plugins directory "/root/.local/share/AutoRecon/plugins" HOT 1
- How to ignore hosts that are not up from entire subnet scan?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorecon.