GitPedia

Asleep scanner

Dahua DVRs bruteforcer at port 37777

From S0Ulle33·Updated June 20, 2026·View on GitHub·

The author of this code **is not responsible** for any illegal actions. \ For educational purposes only.. The project is written primarily in Python, distributed under the Apache License 2.0 license, first published in 2020. Key topics include: bruteforce, dahua, dvr.

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.

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from S0Ulle33/asleep_scanner via the GitHub API.Last fetched: 6/22/2026