Closed sudosuperman closed 7 years ago
never mind, i was running cmd as admin on the windows bash
i got it working then ended up with this
root@DESKTOP-URC8ANJ:/mnt/c/angularjs-csti-scanner-master# acstis --u https://*********.ca/ --crawl
AngularJS CSTI Scanner (ACSTIS)
Copyright (c) 2017 Tijme Gommers (see LICENSE.md
).
2017-06-12 23:46:48.901820: Started scan 2017-06-12 23:46:48.940101: Error while scraping URL 'https://*********.ca/': Message: Service /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 unexpectedly exited. Status code was: 127
root@DESKTOP-URC8ANJ:/mnt/c/angularjs-csti-scanner-master#
Hi @sudosuperman,
Thanks for reporting the issue. I've got a few questions.
echo $DISPLAY
?
export DISPLAY=:1
and run ACSTIS?/usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version
?uname -i
?im sorry for my lack of knowledge but im not sure what you mean by headless and yes im using pip3.
root@DESKTOP-URC8ANJ:/mnt/c# echo $DISPLAY root@DESKTOP-URC8ANJ:/mnt/c# export DISPLAY=:1 root@DESKTOP-URC8ANJ:/mnt/c# /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version/usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory root@DESKTOP-URC8ANJ:/mnt/c# sudo /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
root@DESKTOP-URC8ANJ:/mnt/c# uname -i x86_64 root@DESKTOP-URC8ANJ:/mnt/c#
i was missing libnss3 so i installed it... but same thing; unexpectedly exited. Status code was: 127
@sudosuperman You need Ubuntu desktop so you have a display server which Chrome can use. If you use Ubuntu server you need to install a virtual display server.
I just tested ACSTIS on Ubuntu Desktop (https://www.ubuntu.com/download/desktop). I installed Chrome, Python3 and Pip3. I then installed ACSTIS using sudo pip3 install acstis
. This works for me.
What does /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version
output now?
i have windows & pattot os dual boot. will it work on parrot os because it is based on ubuntu and froxen box?
@sudosuperman Hmm, I have no idea.
Now that you have fixed the Chrome driver issue, could you send me this output once more? /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version
And could you maybe run chmod a+x /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64
and then try if ACSTIS works?
i will do that tonight and i will let you know in the morning. thank you for your help and quick responses as well.
hello, so i switched from my ubuntu based bash on windows 10 to my parrot OS, followed all the steps and i worked like a dream. thank you very much for your help.
Ok, good to hear you got it working!
root@DESKTOP-URC8ANJ:/mnt/c/angularjs-csti-scanner-master# python acstis --url **.com/ usr/bin/python: can't find 'main' module in 'acstis'