Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This nuclei template detects a Spark Lighter server, a REST API for Apache Spark on K8S or YARN.
https://github.com/exacaster/lighter
I've validated this template locally?
Steps to test:
Local machine:
$ docker run --name lighterserver -it --rm lighter:latest -p 8080:8080 -p 25333:25333 -e LIGHTER_KUBERNETES_ENABLED=false
Docker Kali container:
# ~/go/bin/nuclei -t sparklighter-detect.yaml -u "http://172.17.0.3:8080" -H "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"