GithubHelp home page GithubHelp logo

Scan immediately ends about silver HOT 10 CLOSED

s0md3v avatar s0md3v commented on July 23, 2024
Scan immediately ends

from silver.

Comments (10)

kirkins avatar kirkins commented on July 23, 2024 1

@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.

s0md3v avatar s0md3v commented on July 23, 2024 1

Thanks @kirkins πŸŽ‰

I am pushing a patch!

from silver.

s0md3v avatar s0md3v commented on July 23, 2024 1

The root permission thing has been documented and internal checks for dependencies (nmap, masscan, psutil) and the permission itself with pushed soon.

from silver.

assetgrower avatar assetgrower commented on July 23, 2024

same here.

from silver.

s0md3v avatar s0md3v commented on July 23, 2024

Do you guys have masscan installed?

from silver.

axelarator avatar axelarator commented on July 23, 2024

Yup. Nmap and masscan were installed from AUR

from silver.

assetgrower avatar assetgrower commented on July 23, 2024

from silver.

kirkins avatar kirkins commented on July 23, 2024

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.

s0md3v avatar s0md3v commented on July 23, 2024

@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.

slunak avatar slunak commented on July 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.