All Projects → shirosaidev → Sharesniffer

shirosaidev / Sharesniffer

Licence: apache-2.0
Network share sniffer and auto-mounter for crawling remote file systems

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sharesniffer

Infinit
The Infinit policy-based software-defined storage platform.
Stars: ✭ 363 (+116.07%)
Mutual labels:  storage, nfs, filesystem
Bruteshark
Network Analysis Tool
Stars: ✭ 1,335 (+694.64%)
Mutual labels:  network-analysis, sniffer, sniffing
Zbox
Zero-details, privacy-focused in-app file system.
Stars: ✭ 1,185 (+605.36%)
Mutual labels:  storage, filesystem
Btle Sniffer
Passively scan for Bluetooth Low Energy devices and attempt to fingerprint them
Stars: ✭ 87 (-48.21%)
Mutual labels:  sniffer, sniffing
Laravel Storage
A simple filesystem abstraction package for Laravel 4.
Stars: ✭ 100 (-40.48%)
Mutual labels:  storage, filesystem
Diskover
File system crawler, disk space usage, file search engine and file system analytics powered by Elasticsearch
Stars: ✭ 977 (+481.55%)
Mutual labels:  storage, filesystem
Moosefs
MooseFS – Open Source, Petabyte, Fault-Tolerant, Highly Performing, Scalable Network Distributed File System (Software-Defined Storage)
Stars: ✭ 1,025 (+510.12%)
Mutual labels:  storage, filesystem
Daggy
Daggy - Data Aggregation Utility. Open source, free, cross-platform, server-less, useful utility for remote or local data aggregation and streaming
Stars: ✭ 91 (-45.83%)
Mutual labels:  network-analysis, sniffing
Easy hack
Hack the World using Termux
Stars: ✭ 549 (+226.79%)
Mutual labels:  network-analysis, nmap
Democratic Csi
csi storage for container orchestration systems
Stars: ✭ 120 (-28.57%)
Mutual labels:  storage, nfs
File Storage
File storage abstraction for Yii2
Stars: ✭ 116 (-30.95%)
Mutual labels:  storage, filesystem
Diskover Web
Web file manager, disk space usage, storage search engine and file system analytics for diskover
Stars: ✭ 121 (-27.98%)
Mutual labels:  storage, filesystem
Netgraph
A cross platform http sniffer with a web UI
Stars: ✭ 852 (+407.14%)
Mutual labels:  network-analysis, sniffer
Filegator
Powerful Multi-User File Manager
Stars: ✭ 587 (+249.4%)
Mutual labels:  storage, filesystem
Glusterfs Java Filesystem
GlusterFS for Java
Stars: ✭ 50 (-70.24%)
Mutual labels:  storage, filesystem
S5cmd
Parallel S3 and local filesystem execution tool.
Stars: ✭ 565 (+236.31%)
Mutual labels:  storage, filesystem
Mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Stars: ✭ 1,962 (+1067.86%)
Mutual labels:  storage, filesystem
Nmap
Idiomatic nmap library for go developers
Stars: ✭ 391 (+132.74%)
Mutual labels:  network-analysis, nmap
Hellraiser
Vulnerability scanner using Nmap for scanning and correlating found CPEs with CVEs.
Stars: ✭ 413 (+145.83%)
Mutual labels:  network-analysis, nmap
Orion
[Moved to Gitlab] Easy to Use, Inter Planetary File System (IPFS) desktop client
Stars: ✭ 115 (-31.55%)
Mutual labels:  file-sharing, storage

sharesniffer

sharesniffer

sharesniffer is a network analysis tool for finding open and closed file shares on your local network. It includes auto-network discovery and auto-mounting of any open cifs and nfs shares.



How to use

Example to find all hosts on any local network with open/closed nfs/smb shares:

python sharesniffer.py

Example to find all hosts in 192.168.56.0/24 network, excluding possible router/firewalls, and auto-mount any open nfs/smb shares at /mnt:

python sharesniffer.py -l 4 --hosts 192.168.56.0/24 -e 192.168.56.1,192.168.56.254 -a -m /mnt

Requirements

  • Python 2.7. or 3.5/3.6 (tested on 2.7.15 and 3.6.5)
  • Linux or macOS
  • Nmap https://nmap.org 7. in PATH (tested on 7.70)
  • Nmap scripts (.nse) (on Linux/macOS they are usually in /usr/local/share/nmap/scripts/ or /usr/share/nmap/scripts/)
  • python-nmap (pip install python-nmap)
  • netifaces (pip install netifaces)

Download

$ git clone https://github.com/shirosaidev/sharesniffer.git
$ cd sharesniffer

Download latest version

CLI Options

usage: sharesniffer.py [-h] [--hosts HOSTS] [-e EXCLUDEHOSTS] [-l SPEEDLEVEL]
                       [-n] [--nfsmntopt NFSMNTOPT] [-s]
                       [--smbmntopt SMBMNTOPT] [--smbtype SMBTYPE]
                       [--smbuser SMBUSER] [--smbpass SMBPASS] [-a]
                       [-m MOUNTPOINT] [-p MOUNTPREFIX] [-v] [--debug] [-q]
                       [-V]

optional arguments:
  -h, --help            show this help message and exit
  --hosts HOSTS         Hosts to scan, example: 10.10.56.0/22 or 10.10.56.2
                        (default: scan all hosts)
  -e EXCLUDEHOSTS, --excludehosts EXCLUDEHOSTS
                        Hosts to exclude from scan, example:
                        10.10.56.1,10.10.56.254
  -l SPEEDLEVEL, --speedlevel SPEEDLEVEL
                        Scan speed aggressiveness level from 3-5, lower for
                        more accuracy (default: 4)
  -n, --nfs             Scan network for nfs shares
  --nfsmntopt NFSMNTOPT
                        nfs mount options (default: ro,nosuid,nodev,noexec,udp
                        ,proto=udp,noatime,nodiratime,rsize=1024,dsize=1024,ve
                        rs=3,rdirplus)
  -s, --smb             Scan network for smb shares
  --smbmntopt SMBMNTOPT
                        smb mount options (default: ro,nosuid,nodev,noexec,udp
                        ,proto=udp,noatime,nodiratime,rsize=1024,dsize=1024)
  --smbtype SMBTYPE     Can be smbfs (default) or cifs
  --smbuser SMBUSER     smb username (default: guest)
  --smbpass SMBPASS     smb password (default: none)
  -a, --automount       Auto-mount any open nfs/smb shares
  -m MOUNTPOINT, --mountpoint MOUNTPOINT
                        Mountpoint to mount shares (default: ./)
  -p MOUNTPREFIX, --mountprefix MOUNTPREFIX
                        Prefix for mountpoint directory name (default:
                        sharesniffer)
  -v, --verbose         Increase output verbosity
  --debug               Debug message output
  -q, --quiet           Run quiet and just print out any possible mount points
                        for crawling
  -V, --version         Prints version and exits
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].