Added Template Checksum generator (#6283)
* Added Template Checksum generator * fixed lint errorspatch-1
parent
8c6e2e98b0
commit
b48c05dc27
|
@ -0,0 +1,37 @@
|
|||
name: 📝 Template Checksum
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.18
|
||||
|
||||
- name: install checksum generator
|
||||
run: |
|
||||
go install -v github.com/projectdiscovery/nuclei/v2/cmd/generate-checksum@dev
|
||||
|
||||
- name: generate checksum
|
||||
run: |
|
||||
generate-checksum /home/runner/work/nuclei-templates/nuclei-templates/ templates-checksum.txt
|
||||
|
||||
- name: Commit files
|
||||
run: |
|
||||
git add templates-checksum.txt
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git commit -m "Auto Generated Templates Checksum [$(date)] :robot:" -a
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: master
|
|
@ -6,8 +6,8 @@ info:
|
|||
severity: info
|
||||
description: Obtain InfluxDB Version Information
|
||||
reference:
|
||||
- https://docs.influxdata.com/influxdb/v1.8/tools/api/#ping-http-endpoint
|
||||
- https://github.com/influxdata/influxdb/blob/master/http/platform_handler.go#L62
|
||||
- https://docs.influxdata.com/influxdb/v1.8/tools/api/#ping-http-endpoint
|
||||
- https://github.com/influxdata/influxdb/blob/master/http/platform_handler.go#L62
|
||||
metadata:
|
||||
verified: true
|
||||
shodan-query: "X-Influxdb-"
|
||||
|
|
|
@ -14,12 +14,12 @@ info:
|
|||
tags: wordpress,wp,wp-plugin,xss,relatedposts,authenticated
|
||||
|
||||
requests:
|
||||
- raw:
|
||||
- raw:
|
||||
- |
|
||||
POST /wp-login.php HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
|
||||
log={{username}}&pwd={{password}}&wp-submit=Log+In
|
||||
|
||||
- |
|
||||
|
|
Loading…
Reference in New Issue