Coder Social home page Coder Social logo

namixgg / asleep_scanner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from s0ulle33/asleep_scanner

0.0 0.0 0.0 1.7 MB

Dahua DVRs bruteforcer at port 37777

Home Page: https://t.me/asleep_cg

License: Apache License 2.0

Python 99.53% Shell 0.47%

asleep_scanner's Introduction

Dahua DVRs bruteforcer at port 37777

The author of this code is not responsible for any illegal actions.
For educational purposes only..

Terminal record

Download

Binary available on the releases page

USAGE
   $ asleep.py [-h] [-s SCAN_FILE] [-p PORTS] [-b BRUTE_FILE] [-l] [-m] [-t THREADS] [-d]
               [--masscan-resume] [--no-snapshots] [--no-xml] [--dead] [--country] [--random-country]

ARGUMENTS
   -h, --help        show this help message and exit
   -s SCAN_FILE      file with IP ranges to scan, e.g. 192.168.1.1-192.168.11.1
   -p PORTS          ports to scan (default: 37777), e.g. 37777,37778
   -b BRUTE_FILE     file with IPs to brute, in any format
   -l                brute combinations from logins.txt and passwords.txt instead of combinations.txt
   -m, --masscan     run Masscan and brute the results
   -t THREADS        number of thread for Masscan (default: 3000)
   --masscan-resume  continue paused Masscan
   --no-snapshots    don't make snapshots
   --no-xml          don't make SMART PSS .xml files
   --dead            write not bruted cams to dead_cams.txt file
   --country         scan by country
   --random-country  scan by random country
   -d, --debug       debug output

EXAMPLES
   $ ./asleep -m -s ips.txt
   $ ./asleep -m -s ips.txt -p 37777,37778,47777
   $ ./asleep --country
   $ ./asleep --random-country
   $ ./asleep -b ips.txt
Interactive:
  • git clone https://github.com/d34db33f-1007/asleep_scanner.git
  • pip3 install -r requirements.txt
  • python3 asleep.py --help
View cams in live:

Requirements:

besides content of requirements.txt this code needs masscan and Python 3.7 >
only for windows install WinPcap driver

Build:

  1. get normal or light build version from releases page
  2. pip3 install -r requirements.txt
  3. run interactive for testing purposes
  4. pyinstaller --add-data '/path/to/python3.7/site-packages/pyfiglet:./pyfiglet' --add-data '/path/to/python3.7/site-packages/_geoip_geolite2:./_geoip_geolite2' --onefile asleep.py

Configs:

all configs are well commented in .config file.

code can post snapshots to your telegram channel at the end of scanning. add your Telegram Bot API Key and channel ID in .config file to make this work.

asleep_scanner's People

Contributors

s0ulle33 avatar d34db33f-1007 avatar namixgg avatar

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.