Giter Site home page Giter Site logo

Comments (10)

sudosuperman avatar sudosuperman commented on June 18, 2024 1

i will do that tonight and i will let you know in the morning. thank you for your help and quick responses as well.

from angularjs-csti-scanner.

sudosuperman avatar sudosuperman commented on June 18, 2024

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#

from angularjs-csti-scanner.

tijme avatar tijme commented on June 18, 2024

Hi @sudosuperman,

Thanks for reporting the issue. I've got a few questions.

  • Did you install ACSTIS using pip(3)?
  • Are you running Ubuntu headless?
  • Could you give me the output of echo $DISPLAY?
    • If this is empty, could you try export DISPLAY=:1 and run ACSTIS?
  • Could you give me the output of /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version?
  • Could you give me the output of uname -i?

from angularjs-csti-scanner.

sudosuperman avatar sudosuperman commented on June 18, 2024

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#

from angularjs-csti-scanner.

sudosuperman avatar sudosuperman commented on June 18, 2024

i was missing libnss3 so i installed it... but same thing; unexpectedly exited. Status code was: 127

from angularjs-csti-scanner.

tijme avatar tijme commented on June 18, 2024

@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?

from angularjs-csti-scanner.

sudosuperman avatar sudosuperman commented on June 18, 2024

i have windows & pattot os dual boot. will it work on parrot os because it is based on ubuntu and froxen box?

from angularjs-csti-scanner.

tijme avatar tijme commented on June 18, 2024

@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?

from angularjs-csti-scanner.

sudosuperman avatar sudosuperman commented on June 18, 2024

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.

from angularjs-csti-scanner.

tijme avatar tijme commented on June 18, 2024

Ok, good to hear you got it working!

from angularjs-csti-scanner.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.