Skip to content
/ webshot Public

Script going to addresses from file and take screenshots

License

Notifications You must be signed in to change notification settings

16bc/webshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📸 WᴇʙSʜᴏᴛ

Script goes to webservices on ip-addresses from file and take screenshots.

It is created as useful addition to masscan utility. Tested on Ubuntu 18.04 & Python 3.7

  • Script base on Selenium, so you need have installed Selenium WebDriver first.
    Link to Selenium Webdriver setup manual
  • Before running script, open webshot.py in editor and check or change variables in the header.
  • Make sure you have .json file generated from Masscan (use -oJ key), or same utilities, with json-format something like this:
{ "ip": "xxx.xxx.xxx.xxx", "ports":[{"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 61}]},
{ "ip": "xxx.xxx.xxx.xxx", "ports":[{"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 60}]},
{ "ip": "xxx.xxx.xxx.xxx", "ports":[{"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 61}]},
...

Script set up to firefox, you may change it in the header.
If you want use custom list-file with IPs, just edit parse_hosts() function so it return list with IPs.

About

Script going to addresses from file and take screenshots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages