Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sparklighter-detect.yaml #9827

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

icarot
Copy link
Contributor

@icarot icarot commented May 19, 2024

This nuclei template detects a Spark Lighter server, a REST API for Apache Spark on K8S or YARN.

  • References:

https://github.com/exacaster/lighter

I've validated this template locally?

  • YES
  • NO

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"

image

image

This nuclei template detects a Spark Lighter server, a REST API for Apache Spark on K8S or YARN.
@DhiyaneshGeek DhiyaneshGeek self-assigned this May 20, 2024
@DhiyaneshGeek DhiyaneshGeek added the good first issue Good for newcomers label May 20, 2024
@GeorginaReeder
Copy link

Thanks for your contribution @icarot , we appreciate it!

We also have a Discord server, which you’re more than welcome to join. It's a great place to connect with fellow contributors and stay updated with the latest developments!

@DhiyaneshGeek
Copy link
Member

Hi @icarot

when i tried to set-up locally , i'm getting the following error.

Is the docker command that you shared above is correct ?

Looking forward to hear back from you

Thanks

image

@icarot
Copy link
Contributor Author

icarot commented May 24, 2024

Hello, @DhiyaneshGeek.

Sorry, you have to do theses steps first:
$ git clone https://github.com/exacaster/lighter
$ cd lighter/
$ docker build -t lighter .

And then:

$ docker run --name lighterserver -it --rm lighter:latest -p 8080:8080 -p 25333:25333 -e LIGHTER_KUBERNETES_ENABLED=false

@icarot
Copy link
Contributor Author

icarot commented May 25, 2024

Additionally, you can get the IP Address of the new container created running the following command:

$ docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' lighterserver

And the access URL will be http://<obtained_IP_Addres>:8080

@DhiyaneshGeek DhiyaneshGeek added Done Ready to merge and removed waiting for more info labels May 31, 2024
@DhiyaneshGeek
Copy link
Member

Hi @icarot

Thanks for the sharing the details , i have validated locally with the set-up instructions shared by you

You can grab your cool PD stickers over here http://nux.gg/stickers 😄

Thanks

@pussycat0x pussycat0x merged commit f5f19d3 into projectdiscovery:main Jun 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants