superhedgy / AttackSurfaceMapper

AttackSurfaceMapper is a tool that aims to automate the reconnaissance process.
https://AttackSurfaceMapper.com
GNU General Public License v3.0
1.3k stars 192 forks source link

Problem with Selenium Screenshot #20

Closed tsai0009 closed 4 years ago

tsai0009 commented 5 years ago

After running this overnight because I am trying to use the 100k list, I got this error message due to using the screenshot feature. Yes I did a pip install on selenium.

errormessage

Command I used was

python3 ASM.py -t url.com -ln -o URL_com -w resources/bitquark_top100k_sublist.txt -sc

url.com and URL_com are sort of sensitive info so I just changed those.

rascyber commented 5 years ago

Download the latest version of chromedriver for your OS. I assume you using windows.

tsai0009 commented 5 years ago

Download the latest version of chromedriver for your OS. I assume you using windows.

I will try this when I can. I am using centos on a virtual box for testing purposes.

tsai0009 commented 5 years ago

@rascyber It would appear that chromedriver 'unexpectedly exited'

image

superhedgy commented 5 years ago

Hmm it seems the chromedriver crashed.. might wanna try using different set of targets will help us identify the root of the problem.

tsai0009 commented 5 years ago

@superhedgy My centos installation has slightly changed since and it's now giving me somewhat different error message that specifically says Chrome has crashed. I tried it on multiple targets and got the same results.

image

I might be installing it wrong? I'm not sure really.

I'm installing it using npm like this:

sudo npm -g install chromedriver

ln -sf /usr/lib/node_modules/chromedriver/lib/chromedriver/chromedriver ~/bin/chromedriver

superhedgy commented 5 years ago

Make sure you have installed chrome and the chromedriver.

Try the following commands and let me know how it goes.

Install Chrome

yum install -y google-chrome-stable

Install ChromeDriver.

wget -N https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P ~/ unzip ~/chromedriver_linux64.zip -d ~/ rm ~/chromedriver_linux64.zip sudo mv -f ~/chromedriver /usr/local/bin/chromedriver sudo chown root:root /usr/local/bin/chromedriver sudo chmod 0755 /usr/local/bin/chromedriver

tsai0009 commented 4 years ago

Resolved, thanks. Sorry for the long time to reply.