Git Product home page Git Product logo

Comments (5)

flag007 avatar flag007 commented on July 28, 2024

hi

from tsunami-security-scanner.

flag007 avatar flag007 commented on July 28, 2024

Did you solve it?

from tsunami-security-scanner.

RedaMastouri avatar RedaMastouri commented on July 28, 2024

from tsunami-security-scanner.

nikhen avatar nikhen commented on July 28, 2024

Verification of the certificate chain is attempted but fails.

A workaround for this is to manually add the server certificate as trusted certificate to Java key store.

  1. To set the IP address of the target (replace 6.1.131.88 with your value), set the environment variable

    export TARGET_IP=6.1.131.88

  2. To get the certificate from the server and save it to file public.crt, execute

    openssl s_client -connect $TARGET_IP:443 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > public.crt

  3. To add the certificate to trusted certificates in your keystore, run

    keytool -importcert -alias custom-$TARGET_IP -file public.crt

You might have to explicitly set the location and password of the key store via parameters -Djavax.net.ssl.keyStore and -Djavax.net.ssl.keyStorePassword when running tsunami, for example

java -cp "tsunami-main-0.0.4-SNAPSHOT-cli.jar:$HOME/tsunami/plugins/*"   -Dtsunami-config.location=$HOME/tsunami/tsunami.yaml -Djavax.net.ssl.keyStore=$HOME/.keystore and -Djavax.net.ssl.keyStorePassword=changeit   com.google.tsunami.main.cli.TsunamiCli   --ip-v4-target=$TARGET_IP   --scan-results-local-output-format=JSON   --scan-results-local-output-filename=/tmp/tsunami-output.json

from tsunami-security-scanner.

Related Issues (20)

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.