Giter VIP home page Giter VIP logo

silver's Introduction

Hi, I'm Somdev

I am a cyber security researcher and programmer.

Do you want to be one too? Check out my advice for learning hacking and programming.

You can support my work with a few bucks, here.

Twitter Follow

silver's People

Contributors

s0md3v avatar somdev-rhl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silver's Issues

Feature request

add support to scanning by hostname. Currently scanning by only ip is supported.

e.g.
python3 silver.py example.com

Scan immediately ends

Using any IP, ETA is always 0 seconds and states there are 0 services to fingerprint.

On kali, works fine. On manjaro is where the issue is seen

Feature request

Add a output format similar to nmap.xml
As many tools use the nmap's xml format to do stuff like
aquatone used it to take screenshot
brutespray used it to spray common credential across different services identified.
In this way we are not only looking for the outdated services, also completely using silver for port scanning workflow as whole.

not producing any output?

Hello,

Just installed the tool, requirements, nmap & masscan without any issues. Tried running python3 silver.py 127.0.0.1 --quick command (or any other IP/or IP's from file) immediately receiving Scan Completed message:

[] Deploying masscan
[!] Result saved to /home/xxx/Silver/result-test.txt
[
] 0 services to fingerprint
[!] ETA: 0 seconds
[] Spawning 1 nmap instance
[!] Updated /home/xxx/Silver/result-test.txt
[
] Looking for vulnerablilites
[+] Scan completed

~/Silver$ cat result-test.txt
{}

Any ideas what might be causing this?

Thanks!

TypeError when silver.py is executed outside Silver directory.

Hi,

I was trying to call silver.py outside the directory and I got the following error:

fagent@faradayagent:~$ /home/fagent/Silver/silver.py
Traceback (most recent call last):
  File "/home/fagent/Silver/silver.py", line 13, in <module>
    from modules.shodan import shodan
  File "/home/fagent/Silver/modules/shodan.py", line 5, in <module>
    from modules.vulners import vulners, cache
  File "/home/fagent/Silver/modules/vulners.py", line 7, in <module>
    database = json.loads(reader(file))
  File "/usr/lib/python3.6/json/__init__.py", line 348, in loads
    'not {!r}'.format(s.__class__.__name__))
TypeError: the JSON object must be str, bytes or bytearray, not 'bool'

Will you like to create a python package of silver? I think the root of this problem could be fixed by creating a package (I could help with this).

Thanks!

Quick Completion.

I have followed the instructions but It displays no output

Rocket1@Macbookpro silver % sudo python3 silver.py IP 

	𝘴π˜ͺ𝘭𝘷𝘦𝘳

 Deploying masscan
 Result saved to /Users/Rocket1/Silver/result-IP.json
 0 services to fingerprint
 Spawning 1 nmap instance
 Updated /Users/Rocket1/Silver/result-IP.json
 Looking for vulnerablilites
 Scan completed ```

canΒ΄t install it

Hello,
when I try to inststall it using git clone I get
E: Unable to locate package https://github.com/s0md3v E: Couldn't find any package by glob 'https://github.com/s0md3v' E: Couldn't find any package by regex 'https://github.com/s0md3v'
Thanks for your time

Use masscan only if multiple hosts are provided

Usage of masscan against a single host would cause most open ports to be left unidentified, especially at the default rate of 10K.

Instead of asking the user to set the necessary rate (if you add a --rate from another issue here), leave it to nmap to identify open ports, which is much more capable for atleast an entire /24 range, from where usage of masscan would be more useful.

Ability to control masscan pps rate

Currently silver will command masscan to use --rate=10000 pps. When scanning one host this becomes an issue, the scan is too fast and not all open ports are discovered. I would suggest to give the ability to control the rate option by either specifying the rate limit explicitly or providing --slow argument which will command masscan to use --rate=100 pps which is default for this tool.

Although better approach would be to use --rate=100 by default and providing --fast argument which will command masscan to use --rate=100000.

I can prepare PR if you are interested.

Not scanning target file

Hi @s0md3v
silver is not scanning list of ips provided via targets.txt.
silver -i targets.txt --quick

[~] Deploying masscan
[!] Result saved to /root/result-targets.txt
[~] 0 services to fingerprint
[!] ETA: 0 seconds 
[~] Spawning 1 nmap instance
[!] Updated /root/result-targets.txt
[~] Looking for vulnerablilites
[+] Scan completed

no module named core.memory

user@host:~/tools/Silver$ sudo python silver.py
Traceback (most recent call last):
  File "silver.py", line 11, in <module>
    import core.memory
ImportError: No module named core.memory

Tried installing core module, core-memory / tried py2-py3 etc
nothing work.

No such file or directory: 'silver-.. ( when input the ips file)

traceback (most recent call last):
File "/home/kali/tools/Silver/silver.py", line 61, in
targets = resolver(input_file)
File "/home/kali/tools/Silver/core/resolver.py", line 30, in resolver
with open('silver-' + hostnames, 'w+') as outfile:
FileNotFoundError: [Errno 2] No such file or directory: 'silver-/home/kali/tools/....

Lack of filtering when specifying an IP range as a target result in an error due to bad filename

Hi there,

I just pulled the tool, and it seems it uses the target argument to create the result file. The problem is that if you specify a IP range with a / in it, for example 192.168.0.0/16, it will give an error, it will search for file 16.txt in a directory result-192.168.0.0

╭─ ~/Tools/Silver β”‚ master !1 ?2                                                                                                                                                                                                                                                                             1 Ρ… β”‚ 12:02:29 
╰─ sudo python3 silver.py '192.168.0.0/16'

	𝘴π˜ͺ𝘭𝘷𝘦𝘳

[~] Deploying masscan
Traceback (most recent call last):
  File "silver.py", line 86, in <module>
    file = open(savefile, 'w+')
FileNotFoundError: [Errno 2] No such file or directory: '/foo/bar/Tools/Silver/result-192.168.0.0/16.txt'

Error when running scan...

Hi! When I try to run a scan against a single IP, I get the following...

[] Deploying masscan
[!] Result saved to /home/xxxxx/Silver/result-targets.txt
[
] 3 services to fingerprint
Traceback (most recent call last):
File "silver.py", line 104, in
result = shodan(host)
File "/home/xxxxx/Silver/modules/shodan.py", line 45, in shodan
cache(software, version, 'dummy')
TypeError: cache() missing 1 required positional argument: 'cpe'

Scan 0.0.0.0

With masscan i can scan the internet with 0.0.0.0, but with siver i can't, why?

No module named 'psutil'

When I am ran this command, I got this issue...

python3 silver.py 127.0.0.1
Traceback (most recent call last):
File "silver.py", line 7, in
import psutil
ModuleNotFoundError: No module named 'psutil'

not scanning the target

python3 silver.py 127.0.0.1 --quick

It's not scanning the my target ...within seconds it shown scan completed message

𝘴π˜ͺ𝘭𝘷𝘦𝘳

[] Deploying masscan
[!] Result saved to /root/Silver/result-targets.txt
[
] 0 services to fingerprint
[!] ETA: 0 seconds
[] Spawning 1 nmap instance
[!] Updated /root/Silver/result-targets.txt
[
] Looking for vulnerablilites
[+] Scan completed

please help me out

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.