Comments (4)
Hi we've fixed the nmap and ncrack plugin to check both /usr/bin/nmap
and /usr/local/bin/nmap
on initialization. You can simply execute the quick start script again to recompile everything and rerun the scanner.
If your nmap/ncrack binaries are installed on different paths, then you could update the tsunami.yaml
config file accordingly, see the documentations for the nmap and ncrack plugins for details.
from tsunami-security-scanner.
I have the same problem.
from tsunami-security-scanner.
I got same problem too. Then I change following files directly and could run tsunami.
-
nmap
$HOME/tsunami/repos/tsunami-security-scanner-plugins/google/portscan/nmap/src/main/java/com/google/tsunami/plugins/portscan/nmap/client/NmapClient.java
private static final String DEFAULT_NMAP_BINARY_PATH = "/usr/bin/nmap";
to
private static final String DEFAULT_NMAP_BINARY_PATH = "/usr/local/bin/nmap"; -
ncrack
$HOME/tsunami/repos/tsunami-security-scanner-plugins/google/detectors/credentials/ncrack/src/main/java/com/google/tsunami/plugins/detectors/credentials/ncrack/client/NcrackClient.java
private static final String DEFAULT_NRACK_BINARY_PATH = "/usr/bin/ncrack";
to
private static final String DEFAULT_NRACK_BINARY_PATH = "/usr/local/bin/ncrack";
from tsunami-security-scanner.
FYI: I wrote Dockerfile.
FROM ubuntu:18.04 AS builder
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y git openjdk-11-jdk && rm -rf /var/lib/apt/lists/*
ADD https://api.github.com/repos/google/tsunami-security-scanner/compare/master...HEAD /dev/null
RUN git clone https://github.com/google/tsunami-security-scanner /opt/tsunami-security-scanner
ADD https://api.github.com/repos/google/tsunami-security-scanner-plugins/compare/master...HEAD /dev/null
RUN git clone https://github.com/google/tsunami-security-scanner-plugins /opt/tsunami-security-scanner-plugins
WORKDIR /opt/tsunami-security-scanner
RUN ./gradlew shadowJar
WORKDIR /opt/tsunami-security-scanner-plugins/google
RUN ./build_all.sh
FROM ubuntu:18.04
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y openjdk-11-jdk nmap ncrack && rm -rf /var/lib/apt/lists/*
COPY --from=builder /opt/tsunami-security-scanner-plugins/google/build/plugins /opt/tsunami/plugins
COPY --from=builder /opt/tsunami-security-scanner/main/build/libs/tsunami-main-*-cli.jar /opt/tsunami/tsunami-main-cli.jar
COPY --from=builder /opt/tsunami-security-scanner/tsunami.yaml /opt/tsunami/tsunami.yaml
WORKDIR /opt/tsunami
ENTRYPOINT ["java", "-cp", "tsunami-main-cli.jar:/opt/tsunami/plugins/*", "-Dtsunami-config.location=/opt/tsunami/tsunami.yaml", "com.google.tsunami.main.cli.TsunamiCli", "--scan-results-local-output-format=JSON", "--scan-results-local-output-filename=/dev/stdout"]
CMD ["--ip-v4-target=127.0.0.1"]
from tsunami-security-scanner.
Related Issues (20)
- mi personal info HOT 1
- java.lang.NullPointerException HOT 2
- Installer and Docker builds fail as they do not support proxy servers HOT 5
- Build fails since latest commit HOT 4
- HttpClient builder - setReadTimeout() missing HOT 1
- HttpClient setTrustAllCertificates(true) not working as expected HOT 2
- Hyundai
- Error while trying to find a remote version javax.net.ssl.SSLException: readHandshakeRecord
- Exception: unable to find valid certification path to requested target HOT 5
- buildx multiarchitechture support fails for linux/arm/v7
- quickstart.sh script fails on Pi HOT 2
- Error in custom provider, java.lang.OutOfMemoryError: Java heap space HOT 1
- quick_start.sh fails with "General error during semantic analysis: Unsupported class file major version 60" HOT 2
- Now
- Unknown problems will occur if header Name is forced to lowercase HOT 1
- Docker build fails with "Exception in thread "main" java.io.IOException: Downloading from https://services.gradle.org/distributions/gradle-6.5-bin.zip failed: timeout" HOT 2
- HttpClient.sendAsIs should not allow only GET methods HOT 1
- Add log4j CVE-2021-44228 detection HOT 1
- IP address range HOT 1
- In Search Of A Proxy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsunami-security-scanner.