wpscan 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/finders/users/rss_generator.rb +7 -1
- data/lib/wpscan/version.rb +1 -1
- metadata +4 -6
- data/LICENSE +0 -74
- data/README.md +0 -157
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b77bc527248669714e48a9a4d3549575b029006c
|
4
|
+
data.tar.gz: 68e93f30dc5261b5b7243068141ac1cc4c5de17a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03bb631c5ef92997b39be32bb14aed714b0a080f4d3295a3bcda867d2be642e98b0694f3c20d394aa516a104dc53f48bc61a7ffdc9081ab1e0887c47ea63661
|
7
|
+
data.tar.gz: 17af60085bfdc2bccb8fd01fcb91257c91530e577b13a7b84e64b66d7c9b1bea2ecc838bc7c33d83b8b9874a53db72036329b1dada36970ab7b0ff3a08059f75
|
@@ -17,7 +17,13 @@ module WPScan
|
|
17
17
|
|
18
18
|
begin
|
19
19
|
res.xml.xpath('//item/dc:creator').each do |node|
|
20
|
-
|
20
|
+
potential_username = node.text.to_s
|
21
|
+
|
22
|
+
# Ignoring potential username longer than 60 characters and containing accents
|
23
|
+
# as they are considered invalid. See https://github.com/wpscanteam/wpscan/issues/1215
|
24
|
+
next if potential_username.length > 60 || potential_username =~ /[^\x00-\x7F]/
|
25
|
+
|
26
|
+
potential_usernames << potential_username
|
21
27
|
end
|
22
28
|
rescue Nokogiri::XML::XPath::SyntaxError
|
23
29
|
next
|
data/lib/wpscan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wpscan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WPScanTeam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cms_scanner
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.40
|
19
|
+
version: 0.0.40.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.40
|
26
|
+
version: 0.0.40.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,8 +172,6 @@ executables:
|
|
172
172
|
extensions: []
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
|
-
- LICENSE
|
176
|
-
- README.md
|
177
175
|
- app/app.rb
|
178
176
|
- app/controllers.rb
|
179
177
|
- app/controllers/aliases.rb
|
data/LICENSE
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
WPScan Public Source License
|
2
|
-
|
3
|
-
The WPScan software (henceforth referred to simply as "WPScan") is dual-licensed - Copyright 2011-2018 WPScan Team.
|
4
|
-
|
5
|
-
Cases that include commercialization of WPScan require a commercial, non-free license. Otherwise, WPScan can be used without charge under the terms set out below.
|
6
|
-
|
7
|
-
1. Definitions
|
8
|
-
|
9
|
-
1.1 “License” means this document.
|
10
|
-
1.2 “Contributor” means each individual or legal entity that creates, contributes to the creation of, or owns WPScan.
|
11
|
-
1.3 “WPScan Team” means WPScan’s core developers, an updated list of whom can be found within the CREDITS file.
|
12
|
-
|
13
|
-
2. Commercialization
|
14
|
-
|
15
|
-
A commercial use is one intended for commercial advantage or monetary compensation.
|
16
|
-
|
17
|
-
Example cases of commercialization are:
|
18
|
-
|
19
|
-
- Using WPScan to provide commercial managed/Software-as-a-Service services.
|
20
|
-
- Distributing WPScan as a commercial product or as part of one.
|
21
|
-
- Using WPScan as a value added service/product.
|
22
|
-
|
23
|
-
Example cases which do not require a commercial license, and thus fall under the terms set out below, include (but are not limited to):
|
24
|
-
|
25
|
-
- Penetration testers (or penetration testing organizations) using WPScan as part of their assessment toolkit.
|
26
|
-
- Penetration Testing Linux Distributions including but not limited to Kali Linux, SamuraiWTF, BackBox Linux.
|
27
|
-
- Using WPScan to test your own systems.
|
28
|
-
- Any non-commercial use of WPScan.
|
29
|
-
|
30
|
-
If you need to purchase a commercial license or are unsure whether you need to purchase a commercial license contact us - team@wpscan.org.
|
31
|
-
|
32
|
-
We may grant commercial licenses at no monetary cost at our own discretion if the commercial usage is deemed by the WPScan Team to significantly benefit WPScan.
|
33
|
-
|
34
|
-
Free-use Terms and Conditions;
|
35
|
-
|
36
|
-
3. Redistribution
|
37
|
-
|
38
|
-
Redistribution is permitted under the following conditions:
|
39
|
-
|
40
|
-
- Unmodified License is provided with WPScan.
|
41
|
-
- Unmodified Copyright notices are provided with WPScan.
|
42
|
-
- Does not conflict with the commercialization clause.
|
43
|
-
|
44
|
-
4. Copying
|
45
|
-
|
46
|
-
Copying is permitted so long as it does not conflict with the Redistribution clause.
|
47
|
-
|
48
|
-
5. Modification
|
49
|
-
|
50
|
-
Modification is permitted so long as it does not conflict with the Redistribution clause.
|
51
|
-
|
52
|
-
6. Contributions
|
53
|
-
|
54
|
-
Any Contributions assume the Contributor grants the WPScan Team the unlimited, non-exclusive right to reuse, modify and relicense the Contributor's content.
|
55
|
-
|
56
|
-
7. Support
|
57
|
-
|
58
|
-
WPScan is provided under an AS-IS basis and without any support, updates or maintenance. Support, updates and maintenance may be given according to the sole discretion of the WPScan Team.
|
59
|
-
|
60
|
-
8. Disclaimer of Warranty
|
61
|
-
|
62
|
-
WPScan is provided under this License on an “as is” basis, without warranty of any kind, either expressed, implied, or statutory, including, without limitation, warranties that the WPScan is free of defects, merchantable, fit for a particular purpose or non-infringing.
|
63
|
-
|
64
|
-
9. Limitation of Liability
|
65
|
-
|
66
|
-
To the extent permitted under Law, WPScan is provided under an AS-IS basis. The WPScan Team shall never, and without any limit, be liable for any damage, cost, expense or any other payment incurred as a result of WPScan's actions, failure, bugs and/or any other interaction between WPScan and end-equipment, computers, other software or any 3rd party, end-equipment, computer or services.
|
67
|
-
|
68
|
-
10. Disclaimer
|
69
|
-
|
70
|
-
Running WPScan against websites without prior mutual consent may be illegal in your country. The WPScan Team accept no liability and are not responsible for any misuse or damage caused by WPScan.
|
71
|
-
|
72
|
-
11. Trademark
|
73
|
-
|
74
|
-
The "wpscan" term is a registered trademark. This License does not grant the use of the "wpscan" trademark or the use of the WPScan logo.
|
data/README.md
DELETED
@@ -1,157 +0,0 @@
|
|
1
|
-
![alt text](https://raw.githubusercontent.com/wpscanteam/wpscan/gh-pages/wpscan_logo_407x80.png "WPScan - WordPress Security Scanner") v3 BETA
|
2
|
-
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/wpscan.svg)](https://badge.fury.io/rb/wpscan)
|
4
|
-
[![Build Status](https://travis-ci.org/wpscanteam/wpscan-v3.svg?branch=master)](https://travis-ci.org/wpscanteam/wpscan-v3)
|
5
|
-
[![Code Climate](https://codeclimate.com/github/wpscanteam/wpscan-v3/badges/gpa.svg)](https://codeclimate.com/github/wpscanteam/wpscan-v3)
|
6
|
-
[![Patreon Donate](https://img.shields.io/badge/patreon-donate-green.svg)](https://www.patreon.com/wpscan)
|
7
|
-
|
8
|
-
# INSTALL
|
9
|
-
|
10
|
-
## Prerequisites:
|
11
|
-
|
12
|
-
- Ruby >= 2.2.2 - Recommended: 2.3.3
|
13
|
-
- Curl >= 7.21 - Recommended: latest - FYI the 7.29 has a segfault
|
14
|
-
- RubyGems - Recommended: latest
|
15
|
-
|
16
|
-
### From RubyGems:
|
17
|
-
|
18
|
-
```
|
19
|
-
gem install wpscan
|
20
|
-
```
|
21
|
-
|
22
|
-
### From sources:
|
23
|
-
|
24
|
-
Prerequisites: Git
|
25
|
-
|
26
|
-
```
|
27
|
-
git clone https://github.com/wpscanteam/wpscan-v3 wpscan
|
28
|
-
|
29
|
-
cd wpscan/
|
30
|
-
|
31
|
-
bundle install && rake install
|
32
|
-
```
|
33
|
-
|
34
|
-
# Docker
|
35
|
-
|
36
|
-
Pull the repo with ```docker pull wpscanteam/wpscan-v3```
|
37
|
-
|
38
|
-
# Usage
|
39
|
-
|
40
|
-
```wpscan --url blog.tld``` This will scan the blog using default options with a good compromise between speed and accuracy. For example, the plugins will be checked passively but their version with a mixed detection mode (passively + aggressively). Potential config backup files will also be checked, along with other interesting findings. If a more stealthy approach is required, then ```wpscan --stealthy --url blog.tld``` can be used.
|
41
|
-
As a result, when using the ```--enumerate``` option, don't forget to set the ```--plugins-detection``` accordingly, as its default is 'passive'.
|
42
|
-
|
43
|
-
For more options, open a terminal and type ```wpscan --help``` (if you built wpscan from the source, you should type the command outside of the git repo)
|
44
|
-
|
45
|
-
The DB is located at ~/.wpscan/db
|
46
|
-
|
47
|
-
WPScan can load all options (including the --url) from configuration files, the following locations are checked (order: first to last):
|
48
|
-
|
49
|
-
* ~/.wpscan/cli_options.json
|
50
|
-
* ~/.wpscan/cli_options.yml
|
51
|
-
* pwd/.wpscan/cli_options.json
|
52
|
-
* pwd/.wpscan/cli_options.yml
|
53
|
-
|
54
|
-
If those files exist, options from them will be loaded and overridden if found twice.
|
55
|
-
|
56
|
-
e.g:
|
57
|
-
|
58
|
-
~/.wpscan/cli_options.yml:
|
59
|
-
```
|
60
|
-
proxy: 'http://127.0.0.1:8080'
|
61
|
-
verbose: true
|
62
|
-
```
|
63
|
-
|
64
|
-
pwd/.wpscan/cli_options.yml:
|
65
|
-
```
|
66
|
-
proxy: 'socks5://127.0.0.1:9090'
|
67
|
-
url: 'http://target.tld'
|
68
|
-
```
|
69
|
-
|
70
|
-
Running ```wpscan``` in the current directory (pwd), is the same as ```wpscan -v --proxy socks5://127.0.0.1:9090 --url http://target.tld```
|
71
|
-
|
72
|
-
# PROJECT HOME
|
73
|
-
|
74
|
-
[https://wpscan.org](https://wpscan.org)
|
75
|
-
|
76
|
-
# VULNERABILITY DATABASE
|
77
|
-
|
78
|
-
[https://wpvulndb.com](https://wpvulndb.com)
|
79
|
-
|
80
|
-
# LICENSE
|
81
|
-
|
82
|
-
## WPScan Public Source License
|
83
|
-
|
84
|
-
The WPScan software (henceforth referred to simply as "WPScan") is dual-licensed - Copyright 2011-2018 WPScan Team.
|
85
|
-
|
86
|
-
Cases that include commercialization of WPScan require a commercial, non-free license. Otherwise, WPScan can be used without charge under the terms set out below.
|
87
|
-
|
88
|
-
### 1. Definitions
|
89
|
-
|
90
|
-
1.1 "License" means this document.
|
91
|
-
|
92
|
-
1.2 "Contributor" means each individual or legal entity that creates, contributes to the creation of, or owns WPScan.
|
93
|
-
|
94
|
-
1.3 "WPScan Team" means WPScan’s core developers, an updated list of whom can be found within the CREDITS file.
|
95
|
-
|
96
|
-
### 2. Commercialization
|
97
|
-
|
98
|
-
A commercial use is one intended for commercial advantage or monetary compensation.
|
99
|
-
|
100
|
-
Example cases of commercialization are:
|
101
|
-
|
102
|
-
- Using WPScan to provide commercial managed/Software-as-a-Service services.
|
103
|
-
- Distributing WPScan as a commercial product or as part of one.
|
104
|
-
- Using WPScan as a value added service/product.
|
105
|
-
|
106
|
-
Example cases which do not require a commercial license, and thus fall under the terms set out below, include (but are not limited to):
|
107
|
-
|
108
|
-
- Penetration testers (or penetration testing organizations) using WPScan as part of their assessment toolkit.
|
109
|
-
- Penetration Testing Linux Distributions including but not limited to Kali Linux, SamuraiWTF, BackBox Linux.
|
110
|
-
- Using WPScan to test your own systems.
|
111
|
-
- Any non-commercial use of WPScan.
|
112
|
-
|
113
|
-
If you need to purchase a commercial license or are unsure whether you need to purchase a commercial license contact us - team@wpscan.org.
|
114
|
-
|
115
|
-
We may grant commercial licenses at no monetary cost at our own discretion if the commercial usage is deemed by the WPScan Team to significantly benefit WPScan.
|
116
|
-
|
117
|
-
Free-use Terms and Conditions;
|
118
|
-
|
119
|
-
### 3. Redistribution
|
120
|
-
|
121
|
-
Redistribution is permitted under the following conditions:
|
122
|
-
|
123
|
-
- Unmodified License is provided with WPScan.
|
124
|
-
- Unmodified Copyright notices are provided with WPScan.
|
125
|
-
- Does not conflict with the commercialization clause.
|
126
|
-
|
127
|
-
### 4. Copying
|
128
|
-
|
129
|
-
Copying is permitted so long as it does not conflict with the Redistribution clause.
|
130
|
-
|
131
|
-
### 5. Modification
|
132
|
-
|
133
|
-
Modification is permitted so long as it does not conflict with the Redistribution clause.
|
134
|
-
|
135
|
-
### 6. Contributions
|
136
|
-
|
137
|
-
Any Contributions assume the Contributor grants the WPScan Team the unlimited, non-exclusive right to reuse, modify and relicense the Contributor's content.
|
138
|
-
|
139
|
-
### 7. Support
|
140
|
-
|
141
|
-
WPScan is provided under an AS-IS basis and without any support, updates or maintenance. Support, updates and maintenance may be given according to the sole discretion of the WPScan Team.
|
142
|
-
|
143
|
-
### 8. Disclaimer of Warranty
|
144
|
-
|
145
|
-
WPScan is provided under this License on an “as is” basis, without warranty of any kind, either expressed, implied, or statutory, including, without limitation, warranties that the WPScan is free of defects, merchantable, fit for a particular purpose or non-infringing.
|
146
|
-
|
147
|
-
### 9. Limitation of Liability
|
148
|
-
|
149
|
-
To the extent permitted under Law, WPScan is provided under an AS-IS basis. The WPScan Team shall never, and without any limit, be liable for any damage, cost, expense or any other payment incurred as a result of WPScan's actions, failure, bugs and/or any other interaction between WPScan and end-equipment, computers, other software or any 3rd party, end-equipment, computer or services.
|
150
|
-
|
151
|
-
### 10. Disclaimer
|
152
|
-
|
153
|
-
Running WPScan against websites without prior mutual consent may be illegal in your country. The WPScan Team accept no liability and are not responsible for any misuse or damage caused by WPScan.
|
154
|
-
|
155
|
-
### 11. Trademark
|
156
|
-
|
157
|
-
The "wpscan" term is a registered trademark. This License does not grant the use of the "wpscan" trademark or the use of the WPScan logo.
|