Comments (10)
@s0md3v I'm sure it works because silver works perfectly fine for me once I use sudo
. My result-targets.txt
is as expected once I had the correct permissions.
from silver.
Thanks @kirkins π
I am pushing a patch!
from silver.
The root permission thing has been documented and internal checks for dependencies (nmap, masscan, psutil) and the permission itself with pushed soon.
from silver.
same here.
from silver.
Do you guys have masscan installed?
from silver.
Yup. Nmap and masscan were installed from AUR
from silver.
from silver.
I had the issue and I realized it was because I wasn't using sudo
.
If I use masscan
directly without using sudo
I get back:
FAIL: wlp3s0: You don't have permission to capture on that device (socket: Operation not permitted)
[hint] need to sudo or run as root or something
[hint] I've got some local priv escalation 0days that might work
adapter[wlp3s0].init: failed
With Silver the error message was being sent to /dev/null
so I got success message but ended up with only {}
in my output folder.
Can anyone with the problem see if using sudo
fixes the issue?
from silver.
@kirkins That's a good lead!
Add the following code to line #73 in silver.py
and run it again.
print('masscan%s-p%s --rate 10000 -oG %s %s %s >/dev/null 2>&1' % (host, ports_to_scan, savefile, hostfile, exclude)
Copy the printed out masscan command and run it with sudo in your terminal and see if masscan works.
from silver.
@kirkins That's a good lead!
Add the following code to line #73 in
silver.py
and run it again.
suggested line
Copy the printed out masscan command and run it with sudo in your terminal and see if masscan works.
For everyone who will come here to trouleshoot, this line is missing closing bracket and should be:
print('masscan%s-p%s --rate 10000 -oG %s %s %s >/dev/null 2>&1' % (host, ports_to_scan, savefile, hostfile, exclude))
from silver.
Related Issues (19)
- not producing any output? HOT 3
- no module named core.memory
- Ability to control masscan pps rate
- Use masscan only if multiple hosts are provided HOT 3
- Error when running scan...
- windows subsystem linux not working
- with subnet its not scanning HOT 2
- Lack of filtering when specifying an IP range as a target result in an error due to bad filename
- Not scanning target file HOT 4
- Quick Completion. HOT 1
- No such file or directory: 'silver-.. ( when input the ips file) HOT 2
- canΒ΄t install it HOT 1
- No module named 'psutil' HOT 1
- not scanning the target HOT 4
- feature request: add the ability to determine ports through a parameter HOT 1
- TypeError when silver.py is executed outside Silver directory. HOT 1
- Feature request
- Feature request
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 silver.