maaaaz / webscreenshot

A simple script to screenshot a list of websites
GNU Lesser General Public License v3.0
656 stars 162 forks source link

why the screenshot folder is empty #9

Closed pwneddesal closed 6 years ago

pwneddesal commented 6 years ago

I have installed this tool successfully. I tried to python webscreenshot.py -i test.txt , but the screenshot directory is empty. why?

maaaaz commented 6 years ago

Can you try adding the -vvv option please ?

pwneddesal commented 6 years ago

debug? look like there is not problem

[DEBUG][General] Options: {'log_level': 'DEBUG', 'http_username': None, 'input_file': 'test.txt', 'workers': 2, 'http_password': None, 'output_directory': None, 'header': None, 'proxy_type': None, 'verbosity': 2, 'timeout': 30, 'proxy_auth': None, 'multiprotocol': False, 'cookie': None, 'ssl': False, 'port': None, 'proxy': None}

[INFO][General] 'google.com' has been formatted as 'http://google.com:80' with supplied overriding options
[+] 1 URLs to be screenshot
[DEBUG][http://google.com:80] Shell command to be executed
'phantomjs --ignore-ssl-errors true --ssl-protocol any --ssl-ciphers ALL "/vagrant/tools/webscreenshot/webscreenshot.js" url_capture="http://google.com:80" output_file="/vagrant/tools/webscreenshot/screenshots/http_google.com_80.png"'

[DEBUG][http://google.com:80] Shell command PID 3513 ended normally
[INFO][http://google.com:80] Screenshot OK

[+] 1 actual URLs screenshot
[+] 0 error(s)
maaaaz commented 6 years ago

So you don't have anything here : /vagrant/tools/webscreenshot/screenshots/http_google.com_80.png ? Have you checked your user UNIX rights to this folder ?

pwneddesal commented 6 years ago

no problem, it has 777 permission

maaaaz commented 6 years ago

I don't have any idea about your issue.

infosecsecurity commented 6 years ago

I had the same issue and it was because I was using phantomjs 1.9.8 after upgrading to 2.1.1 everything works

maaaaz commented 6 years ago

Thank you @infosecsecurity