Skip to content

securitytime/vncscreenshooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

vncscreenshooter

This scripts utilizes the Python module vncdotool to automatically create a screenshot of a VNC server.

By default, no password will be used. If required, you can set a password via the --password paramter.

Setup

$ python3 -m venv venv
$ ./venv/bin/python -m pip install vncdotool
$ mkdir screenshots

Usage

$ ./venv/bin/python vncscreenshooter.py -h
usage: vncscreenshooter.py [-h] --ip IP --screendir SCREENDIR [--password PASSWORD] [--timeout TIMEOUT]

optional arguments:
  -h, --help            show this help message and exit
  --ip IP
  --screendir SCREENDIR
                        Screenshot will be saved in this directory
  --password PASSWORD   Defaults to None
  --timeout TIMEOUT     Defaults to 5

$ ./venv/bin/python vncscreenshooter.py --ip 192.168.0.1 --screendir screenshots/

Scan multiple hosts

Create a new file which contains one IP address per line. Now run the script like this:

for ip in $(cat ips.txt); do ./venv/bin/python vncscreenshooter.py --ip $ip --screendir screenshots/; done

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages