cms_scanner 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/.rubocop.yml +6 -0
- data/.travis.yml +14 -0
- data/Gemfile +6 -0
- data/README.md +20 -0
- data/Rakefile +9 -0
- data/app/app.rb +4 -0
- data/app/controllers.rb +2 -0
- data/app/controllers/core.rb +46 -0
- data/app/controllers/core/cli_options.rb +68 -0
- data/app/controllers/interesting_files.rb +12 -0
- data/app/finders.rb +1 -0
- data/app/finders/interesting_files.rb +21 -0
- data/app/finders/interesting_files/fantastico_fileslist.rb +23 -0
- data/app/finders/interesting_files/headers.rb +15 -0
- data/app/finders/interesting_files/robots_txt.rb +22 -0
- data/app/finders/interesting_files/search_replace_db_2.rb +28 -0
- data/app/finders/interesting_files/xml_rpc.rb +62 -0
- data/app/formatters.rb +3 -0
- data/app/formatters/cli.rb +18 -0
- data/app/formatters/cli_no_colour.rb +15 -0
- data/app/formatters/json.rb +12 -0
- data/app/models.rb +5 -0
- data/app/models/fantastico_fileslist.rb +20 -0
- data/app/models/headers.rb +37 -0
- data/app/models/interesting_file.rb +30 -0
- data/app/models/robots_txt.rb +20 -0
- data/app/models/xml_rpc.rb +35 -0
- data/app/views/cli/core/finished.erb +4 -0
- data/app/views/cli/core/started.erb +3 -0
- data/app/views/cli/interesting_files/findings.erb +19 -0
- data/app/views/cli/scan_aborted.erb +4 -0
- data/app/views/json/core/finished.erb +3 -0
- data/app/views/json/core/started.erb +3 -0
- data/app/views/json/interesting_files/findings.erb +1 -0
- data/app/views/json/scan_aborted.erb +4 -0
- data/cms_scanner.gemspec +37 -0
- data/examples/views/cli/wp_custom/test.erb +1 -0
- data/examples/views/json/wp_custom/test.erb +1 -0
- data/examples/wpscan.rb +29 -0
- data/lib/cms_scanner.rb +71 -0
- data/lib/cms_scanner/browser.rb +68 -0
- data/lib/cms_scanner/browser/actions.rb +48 -0
- data/lib/cms_scanner/browser/options.rb +53 -0
- data/lib/cms_scanner/cache/file_store.rb +75 -0
- data/lib/cms_scanner/cache/typhoeus.rb +21 -0
- data/lib/cms_scanner/controller.rb +90 -0
- data/lib/cms_scanner/controllers.rb +34 -0
- data/lib/cms_scanner/errors/auth_errors.rb +15 -0
- data/lib/cms_scanner/finders.rb +5 -0
- data/lib/cms_scanner/finders/finder.rb +27 -0
- data/lib/cms_scanner/finders/finding.rb +32 -0
- data/lib/cms_scanner/finders/findings.rb +25 -0
- data/lib/cms_scanner/finders/independent_finder.rb +30 -0
- data/lib/cms_scanner/finders/independent_finders.rb +41 -0
- data/lib/cms_scanner/formatter.rb +118 -0
- data/lib/cms_scanner/formatter/buffer.rb +15 -0
- data/lib/cms_scanner/target.rb +33 -0
- data/lib/cms_scanner/target/platform.rb +2 -0
- data/lib/cms_scanner/target/platform/php.rb +39 -0
- data/lib/cms_scanner/target/platform/wordpress.rb +35 -0
- data/lib/cms_scanner/target/platform/wordpress/custom_directories.rb +62 -0
- data/lib/cms_scanner/target/server.rb +3 -0
- data/lib/cms_scanner/target/server/apache.rb +43 -0
- data/lib/cms_scanner/target/server/generic.rb +34 -0
- data/lib/cms_scanner/target/server/iis.rb +48 -0
- data/lib/cms_scanner/version.rb +4 -0
- data/lib/cms_scanner/web_site.rb +68 -0
- data/lib/helper.rb +24 -0
- data/spec/app/controllers/core_spec.rb +152 -0
- data/spec/app/controllers/interesting_files_spec.rb +50 -0
- data/spec/app/finders/interesting_files/fantastico_fileslist_spec.rb +68 -0
- data/spec/app/finders/interesting_files/headers_spec.rb +38 -0
- data/spec/app/finders/interesting_files/robots_txt_spec.rb +56 -0
- data/spec/app/finders/interesting_files/search_replace_db_2_spec.rb +55 -0
- data/spec/app/finders/interesting_files/xml_rpc_spec.rb +138 -0
- data/spec/app/finders/interesting_files_spec.rb +13 -0
- data/spec/app/formatters/cli_no_colour_spec.rb +17 -0
- data/spec/app/formatters/cli_spec.rb +21 -0
- data/spec/app/formatters/json_spec.rb +33 -0
- data/spec/app/models/fantastico_fileslist_spec.rb +32 -0
- data/spec/app/models/headers_spec.rb +52 -0
- data/spec/app/models/interesting_file_spec.rb +51 -0
- data/spec/app/models/robots_txt_spec.rb +28 -0
- data/spec/app/models/xml_rpc_spec.rb +47 -0
- data/spec/cache/.gitignore +4 -0
- data/spec/dummy_finders.rb +41 -0
- data/spec/fixtures/interesting_files/fantastico_fileslist/fantastico_fileslist.txt +12 -0
- data/spec/fixtures/interesting_files/file.txt +4 -0
- data/spec/fixtures/interesting_files/headers/interesting.txt +14 -0
- data/spec/fixtures/interesting_files/headers/no_interesting.txt +12 -0
- data/spec/fixtures/interesting_files/robots_txt/robots.txt +10 -0
- data/spec/fixtures/interesting_files/search_replace_db_2/searchreplacedb2.php +188 -0
- data/spec/fixtures/interesting_files/xml_rpc/homepage_in_scope_pingback.html +7 -0
- data/spec/fixtures/interesting_files/xml_rpc/homepage_out_of_scope_pingback.html +7 -0
- data/spec/fixtures/interesting_files/xml_rpc/xmlrpc.php +1 -0
- data/spec/fixtures/output.txt +0 -0
- data/spec/fixtures/target/platform/php/debug_log/debug.log +2 -0
- data/spec/fixtures/target/platform/php/fpd/wp_rss_functions.php +2 -0
- data/spec/fixtures/target/platform/wordpress/custom_directories/custom_w_spaces.html +10 -0
- data/spec/fixtures/target/platform/wordpress/custom_directories/default.html +14 -0
- data/spec/fixtures/target/platform/wordpress/custom_directories/https.html +12 -0
- data/spec/fixtures/target/platform/wordpress/detection/default.html +4 -0
- data/spec/fixtures/target/platform/wordpress/detection/not_wp.html +8 -0
- data/spec/fixtures/target/platform/wordpress/detection/wp_includes.html +3 -0
- data/spec/fixtures/target/server/apache/directory_listing/2.2.16.html +15 -0
- data/spec/fixtures/target/server/generic/server/apache/basic.txt +5 -0
- data/spec/fixtures/target/server/generic/server/iis/basic.txt +6 -0
- data/spec/fixtures/target/server/generic/server/not_detected.txt +3 -0
- data/spec/fixtures/target/server/iis/directory_listing/no_parent.html +3 -0
- data/spec/fixtures/target/server/iis/directory_listing/with_parent.html +3 -0
- data/spec/fixtures/views/base/ctrl/local.erb +1 -0
- data/spec/fixtures/views/base/ctrl/test.erb +3 -0
- data/spec/fixtures/views/base/global.erb +1 -0
- data/spec/fixtures/views/base/test.erb +2 -0
- data/spec/fixtures/views/based_format/test.erb +1 -0
- data/spec/fixtures/views/json/render_me.erb +4 -0
- data/spec/lib/browser_spec.rb +141 -0
- data/spec/lib/cache/file_store_spec.rb +101 -0
- data/spec/lib/cache/typhoeus_spec.rb +30 -0
- data/spec/lib/cms_scanner_spec.rb +45 -0
- data/spec/lib/controller_spec.rb +23 -0
- data/spec/lib/controllers_spec.rb +52 -0
- data/spec/lib/finders/findings_spec.rb +49 -0
- data/spec/lib/finders/independent_finders_spec.rb +98 -0
- data/spec/lib/formatter_spec.rb +136 -0
- data/spec/lib/sub_scanner_spec.rb +27 -0
- data/spec/lib/target/platforms_spec.rb +13 -0
- data/spec/lib/target/servers_spec.rb +13 -0
- data/spec/lib/target_spec.rb +50 -0
- data/spec/lib/web_site_spec.rb +124 -0
- data/spec/shared_examples.rb +11 -0
- data/spec/shared_examples/browser_actions.rb +32 -0
- data/spec/shared_examples/finding.rb +20 -0
- data/spec/shared_examples/formatter_buffer.rb +8 -0
- data/spec/shared_examples/formatter_class_methods.rb +26 -0
- data/spec/shared_examples/independent_finder.rb +33 -0
- data/spec/shared_examples/target/platform/php.rb +58 -0
- data/spec/shared_examples/target/platform/wordpress.rb +41 -0
- data/spec/shared_examples/target/platform/wordpress/custom_directories.rb +50 -0
- data/spec/shared_examples/target/server/apache.rb +33 -0
- data/spec/shared_examples/target/server/generic.rb +34 -0
- data/spec/shared_examples/target/server/iis.rb +38 -0
- data/spec/spec_helper.rb +41 -0
- metadata +432 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
describe CMSScanner::XMLRPC do
|
|
4
|
+
|
|
5
|
+
subject(:xml_rpc) { described_class.new(url) }
|
|
6
|
+
let(:url) { 'http://example.com/xmlrpc' }
|
|
7
|
+
|
|
8
|
+
describe '#request_body' do
|
|
9
|
+
after { expect(xml_rpc.request_body(method, params)).to eq @expected }
|
|
10
|
+
|
|
11
|
+
let(:method) { 'rpc-test' }
|
|
12
|
+
let(:params) { [] }
|
|
13
|
+
|
|
14
|
+
context 'when no params' do
|
|
15
|
+
it 'returns the body w/o the params elements' do
|
|
16
|
+
@expected = '<?xml version="1.0"?><methodCall>'
|
|
17
|
+
@expected << "<methodName>#{method}</methodName>"
|
|
18
|
+
@expected << '</methodCall>'
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
context 'when params' do
|
|
23
|
+
let(:params) { %w(p1 p2) }
|
|
24
|
+
|
|
25
|
+
it 'returns the correct body' do
|
|
26
|
+
@expected = '<?xml version="1.0"?><methodCall>'
|
|
27
|
+
@expected << "<methodName>#{method}</methodName><params>"
|
|
28
|
+
@expected << '<param><value><string>p1</string></value></param>'
|
|
29
|
+
@expected << '<param><value><string>p2</string></value></param>'
|
|
30
|
+
@expected << '</params></methodCall>'
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
describe '#call' do
|
|
36
|
+
let(:method) { 'rpc-test' }
|
|
37
|
+
|
|
38
|
+
it 'returns a Typhoeus::Response' do
|
|
39
|
+
stub_request(:post, url).with(body: xml_rpc.request_body(method)).to_return(body: 'OK')
|
|
40
|
+
|
|
41
|
+
response = xml_rpc.call(method)
|
|
42
|
+
|
|
43
|
+
expect(response).to be_a Typhoeus::Response
|
|
44
|
+
expect(response.body).to eq 'OK'
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
module CMSScanner
|
|
2
|
+
# Dummy Finding
|
|
3
|
+
class DummyFinding
|
|
4
|
+
include Finders::Finding
|
|
5
|
+
|
|
6
|
+
attr_reader :r
|
|
7
|
+
|
|
8
|
+
def initialize(r, opts = {})
|
|
9
|
+
@r = r
|
|
10
|
+
parse_finding_options(opts)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def ==(other)
|
|
14
|
+
r == other.r
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def eql?(other)
|
|
18
|
+
r == other.r && confidence == other.confidence && found_by == other.found_by
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
module Finders
|
|
23
|
+
# Dummy Test Finder
|
|
24
|
+
class DummyFinder < Finder
|
|
25
|
+
def passive(_opts = {})
|
|
26
|
+
DummyFinding.new('test', found_by: found_by)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def aggressive(_opts = {})
|
|
30
|
+
DummyFinding.new('test', confidence: 100, found_by: 'override')
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# No aggressive result finder
|
|
35
|
+
class NoAggressiveResult < Finder
|
|
36
|
+
def passive(_opts = {})
|
|
37
|
+
DummyFinding.new('spotted', confidence: 10, found_by: found_by)
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
HTTP/1.1 200 OK
|
|
2
|
+
Server: nginx/1.1.19
|
|
3
|
+
Date: Thu
|
|
4
|
+
Content-Type: text/plain; charset=utf-8
|
|
5
|
+
Connection: keep-alive
|
|
6
|
+
X-Content-Type-Options: nosniff
|
|
7
|
+
Cache-Control: s-maxage=3600, must-revalidate, max-age=0
|
|
8
|
+
X-Article-Id: 12
|
|
9
|
+
X-Language: en
|
|
10
|
+
Last-Modified: Tue, 26 Nov 2013 17:39:43 GMT
|
|
11
|
+
Vary: X-Subdomain,X-Use-HHVM
|
|
12
|
+
X-Varnish: 11545
|
|
13
|
+
Age: 206
|
|
14
|
+
Set-Cookie: GeoIP=; Path=/; Domain=.test.lo
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
HTTP/1.1 200 OK
|
|
2
|
+
Date: Thu
|
|
3
|
+
Content-Type: text/plain; charset=utf-8
|
|
4
|
+
Connection: keep-alive
|
|
5
|
+
X-Content-Type-Options: nosniff
|
|
6
|
+
Cache-Control: s-maxage=3600, must-revalidate, max-age=0
|
|
7
|
+
X-Language: en
|
|
8
|
+
Last-Modified: Tue, 26 Nov 2013 17:39:43 GMT
|
|
9
|
+
Vary: X-Subdomain,X-Use-HHVM
|
|
10
|
+
X-Varnish: 15154
|
|
11
|
+
Age: 206
|
|
12
|
+
Set-Cookie: GeoIP=; Path=/; Domain=.test.lo
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/terms/" dir="ltr" lang="en-US">
|
|
3
|
+
<head profile="http://gmpg.org/xfn/11">
|
|
4
|
+
<title>Search and replace DB.</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body {
|
|
7
|
+
background-color: #E5E5E5;
|
|
8
|
+
color: #353231;
|
|
9
|
+
font: 14px/18px "Gill Sans MT","Gill Sans",Calibri,sans-serif;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
p {
|
|
13
|
+
line-height: 18px;
|
|
14
|
+
margin: 18px 0;
|
|
15
|
+
max-width: 520px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
p.byline {
|
|
19
|
+
margin: 0 0 18px 0;
|
|
20
|
+
padding-bottom: 9px;
|
|
21
|
+
border-bottom: 1px dashed #999999;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1,h2,h3 {
|
|
26
|
+
font-weight: normal;
|
|
27
|
+
line-height: 36px;
|
|
28
|
+
font-size: 24px;
|
|
29
|
+
margin: 9px 0;
|
|
30
|
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h2 {
|
|
34
|
+
font-weight: normal;
|
|
35
|
+
line-height: 24px;
|
|
36
|
+
font-size: 21px;
|
|
37
|
+
margin: 9px 0;
|
|
38
|
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h3 {
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
line-height: 18px;
|
|
44
|
+
margin: 9px 0;
|
|
45
|
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
a {
|
|
49
|
+
-moz-transition: color 0.2s linear 0s;
|
|
50
|
+
color: #DE1301;
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
font-weight: normal;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
a:visited {
|
|
56
|
+
-moz-transition: color 0.2s linear 0s;
|
|
57
|
+
color: #AE1301;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
a:hover, a:visited:hover {
|
|
61
|
+
-moz-transition: color 0.2s linear 0s;
|
|
62
|
+
color: #FE1301;
|
|
63
|
+
text-decoration: underline;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#container {
|
|
67
|
+
display:block;
|
|
68
|
+
width: 768px;
|
|
69
|
+
padding: 10px;
|
|
70
|
+
margin: 0px auto;
|
|
71
|
+
border:solid 10px 0px 0px 0px #ccc;
|
|
72
|
+
border-top: 18px solid #DE1301;
|
|
73
|
+
background-color: #F5F5F5;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
fieldset {
|
|
77
|
+
border: 0 none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.error {
|
|
81
|
+
border: solid 1px #c00;
|
|
82
|
+
padding: 5px;
|
|
83
|
+
background-color: #FFEBE8;
|
|
84
|
+
text-align: center;
|
|
85
|
+
margin-bottom: 10px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
label {
|
|
89
|
+
display:block;
|
|
90
|
+
line-height: 18px;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
select.multi,
|
|
95
|
+
input.text {
|
|
96
|
+
margin-bottom: 1em;
|
|
97
|
+
display:block;
|
|
98
|
+
width: 90%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
select.multi {
|
|
102
|
+
height: 144px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
input.button {
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
div.help {
|
|
110
|
+
border-top: 1px dashed #999999;
|
|
111
|
+
margin-top: 9px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
</style>
|
|
115
|
+
</head>
|
|
116
|
+
<body>
|
|
117
|
+
<div id="container">
|
|
118
|
+
|
|
119
|
+
<h1>Safe Search Replace</h1>
|
|
120
|
+
<p class="byline">by interconnect/<strong>it</strong></p>
|
|
121
|
+
<h2>Database details</h2>
|
|
122
|
+
<form action="searchreplacedb2.php?step=3" method="post">
|
|
123
|
+
<fieldset>
|
|
124
|
+
<p>
|
|
125
|
+
<label for="host">Server Name:</label>
|
|
126
|
+
<input class="text" type="text" name="host" id="host" value="localhost" />
|
|
127
|
+
</p>
|
|
128
|
+
|
|
129
|
+
<p>
|
|
130
|
+
<label for="data">Database Name:</label>
|
|
131
|
+
<input class="text" type="text" name="data" id="data" value="" />
|
|
132
|
+
</p>
|
|
133
|
+
|
|
134
|
+
<p>
|
|
135
|
+
<label for="user">Username:</label>
|
|
136
|
+
<input class="text" type="text" name="user" id="user" value="" />
|
|
137
|
+
</p>
|
|
138
|
+
|
|
139
|
+
<p>
|
|
140
|
+
<label for="pass">Password:</label>
|
|
141
|
+
<input class="text" type="password" name="pass" id="pass" value="" />
|
|
142
|
+
</p>
|
|
143
|
+
|
|
144
|
+
<p>
|
|
145
|
+
<label for="pass">Charset:</label>
|
|
146
|
+
<input class="text" type="text" name="char" id="char" value="" />
|
|
147
|
+
</p>
|
|
148
|
+
<input type="submit" class="button" value="Submit DB details" /> </fieldset>
|
|
149
|
+
</form> <div class="help">
|
|
150
|
+
<h4><a href="http://interconnectit.com/">interconnect/it</a> <a href="http://interconnectit.com/124/search-and-replace-for-wordpress-databases/">Safe Search and Replace on Database with Serialized Data v2.0.0</a></h4>
|
|
151
|
+
<p>This developer/sysadmin tool helps solve the problem of doing a search and replace on a
|
|
152
|
+
WordPress site when doing a migration to a domain name with a different length.</p>
|
|
153
|
+
|
|
154
|
+
<p><style="color:red">WARNING!</strong> Take a backup first, and carefully test the results of this code.
|
|
155
|
+
If you don't, and you vape your data then you only have yourself to blame.
|
|
156
|
+
Seriously. And if you're English is bad and you don't fully understand the
|
|
157
|
+
instructions then STOP. Right there. Yes. Before you do any damage.
|
|
158
|
+
|
|
159
|
+
<h2>Don't Forget to Remove Me!</h3>
|
|
160
|
+
|
|
161
|
+
<p style="color:red">Delete this utility from your
|
|
162
|
+
server after use. It represents a major security threat to your database if
|
|
163
|
+
maliciously used.</p>
|
|
164
|
+
|
|
165
|
+
<h2>Use Of This Script Is Entirely At Your Own Risk</h2>
|
|
166
|
+
|
|
167
|
+
<p> We accept no liability from the use of this tool.</p>
|
|
168
|
+
|
|
169
|
+
<p>If you're not comfortable with this kind of stuff, get an expert, like us, to do
|
|
170
|
+
this work for you. You do this ENTIRELY AT YOUR OWN RISK! We accept no responsibility
|
|
171
|
+
if you mess up your data. There is NO UNDO here!</p>
|
|
172
|
+
|
|
173
|
+
<p>The easiest way to use it is to copy your site's files and DB to the new location.
|
|
174
|
+
You then, if required, fix up your .htaccess and wp-config.php appropriately. Once
|
|
175
|
+
done, run this script, select your tables (in most cases all of them) and then
|
|
176
|
+
enter the search replace strings. You can press back in your browser to do
|
|
177
|
+
this several times, as may be required in some cases.</p>
|
|
178
|
+
|
|
179
|
+
<p>Of course, you can use the script in many other ways - for example, finding
|
|
180
|
+
all references to a company name and changing it when a rebrand comes along. Or
|
|
181
|
+
perhaps you changed your name. Whatever you want to search and replace the code will help.</p>
|
|
182
|
+
|
|
183
|
+
<p><a href="http://interconnectit.com/124/search-and-replace-for-wordpress-databases/">Got feedback on this script? Come tell us!</a>
|
|
184
|
+
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</body>
|
|
188
|
+
</html>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<head>
|
|
2
|
+
<meta charset="UTF-8">
|
|
3
|
+
<meta name="viewport" content="width=device-width">
|
|
4
|
+
<title>WordPress 4.0 | Just another WordPress site</title>
|
|
5
|
+
<link rel="profile" href="http://gmpg.org/xfn/11">
|
|
6
|
+
<link rel="pingback" href="http://wp.lab/wordpress-4.0/xmlrpc.php">
|
|
7
|
+
</head>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
XML-RPC server accepts POST requests only.
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<html dir="ltr" lang="en-US">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8" />
|
|
4
|
+
<meta name="viewport" content="width=device-width" />
|
|
5
|
+
<title>Wordpress 3.4.1 Custom | Just another WordPress site</title>
|
|
6
|
+
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
|
7
|
+
<!-- This should not be detected as from another domain -->
|
|
8
|
+
<script src="http://another-domain/custom content spaces/themes/twentyeleven/js.js" />
|
|
9
|
+
|
|
10
|
+
<img src="http://ex.lo/custom content spaces/themes/twentyeleven/images/headers/pine-cone.jpg" width="1000" height="288" alt="" />
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<html lang="en-US">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8">
|
|
4
|
+
<meta name="viewport" content="width=device-width">
|
|
5
|
+
<title>WordPress 4.0 | Just another WordPress site</title>
|
|
6
|
+
<link rel="profile" href="http://gmpg.org/xfn/11">
|
|
7
|
+
<link rel="pingback" href="http://ex.lo/xmlrpc.php">
|
|
8
|
+
<meta name='robots' content='noindex,follow' />
|
|
9
|
+
<link rel="alternate" type="application/rss+xml" title="Wordpress 4.0 » Feed" href="http://ex.lo/feed/" />
|
|
10
|
+
<link rel="alternate" type="application/rss+xml" title="Wordpress 4.0 » Comments Feed" href="http://ex.lo/comments/feed/" />
|
|
11
|
+
<link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' />
|
|
12
|
+
<link rel='stylesheet' id='flexSlider_stylesheet-css' href='http://ex.lo/wp-content/plugins/reflex-gallery/scripts/flexslider/flexslider.css?ver=4.0' type='text/css' media='all' />
|
|
13
|
+
<link rel='stylesheet' id='prettyPhoto_stylesheet-css' href='http://ex.lo/wp-content/plugins/reflex-gallery/scripts/prettyPhoto/prettyPhoto.css?ver=4.0' type='text/css' media='all' />
|
|
14
|
+
<link rel='stylesheet' id='genericons-css' href='http://ex.lo/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.3' type='text/css'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<html lang="en-US">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8">
|
|
4
|
+
<meta name="viewport" content="width=device-width">
|
|
5
|
+
<title>WordPress 4.0 | Just another WordPress site</title>
|
|
6
|
+
<link rel="profile" href="http://gmpg.org/xfn/11">
|
|
7
|
+
<link rel="pingback" href="http://ex.lo/xmlrpc.php">
|
|
8
|
+
<meta name='robots' content='noindex,follow' />
|
|
9
|
+
<link rel="alternate" type="application/rss+xml" title="Wordpress 4.0 » Feed" href="http://ex.lo/feed/" />
|
|
10
|
+
<link rel="alternate" type="application/rss+xml" title="Wordpress 4.0 » Comments Feed" href="http://ex.lo/comments/feed/" />
|
|
11
|
+
<link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' />
|
|
12
|
+
<link rel='stylesheet' id='flexSlider_stylesheet-css' href='https://ex.lo/wp-content/plugins/reflex-gallery/scripts/flexslider/flexslider.css?ver=4.0' type='text/css' media='all' />
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<meta name='robots' content='noindex,follow' />
|
|
2
|
+
<link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' />
|
|
3
|
+
<link rel='stylesheet' id='genericons-css' href='http://ex.lo/wordpress-4.0/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.3' type='text/css' media='all' />
|
|
4
|
+
<link rel='stylesheet' id='twentyfourteen-style-css' href='http://ex.lo/wordpress-4.0/wp-content/themes/twentyfourteen/style.css?ver=4.0' type='text/css' media='all' />
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<head>
|
|
2
|
+
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
|
3
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8;charset=utf-8">
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1" />
|
|
5
|
+
<meta name="HandheldFriendly" content="true"/>
|
|
6
|
+
|
|
7
|
+
<link rel="canonical" href="https://duckduckgo.com/">
|
|
8
|
+
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<script type='text/javascript' src='http://ex.lo/wordpress-4.0/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
|
|
2
|
+
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://ex.lo/wordpress-4.0/xmlrpc.php?rsd" />
|
|
3
|
+
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://ex.lo/wordpress-4.0/wp-includes/wlwmanifest.xml" />
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Index of /wordpress-4.0/wp-content/plugins/wp-dbmanager</title>
|
|
5
|
+
</head>
|
|
6
|
+
<body>
|
|
7
|
+
<h1>Index of /wordpress-4.0/wp-content/plugins/wp-dbmanager</h1>
|
|
8
|
+
<table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr><tr><th colspan="5"><hr></th></tr>
|
|
9
|
+
<tr><td valign="top"><img src="/icons/back.gif" alt="[DIR]"></td><td><a href="/wordpress-4.0/wp-content/plugins/">Parent Directory</a></td><td> </td><td align="right"> - </td><td> </td></tr>
|
|
10
|
+
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="backup.php">backup.php</a></td><td align="right">07-Oct-2014 18:43 </td><td align="right"> 10K</td><td> </td></tr>
|
|
11
|
+
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="database-empty.php">database-empty.php</a></td><td align="right">07-Oct-2014 18:43 </td><td align="right">3.9K</td><td> </td></tr>
|
|
12
|
+
<tr><th colspan="5"><hr></th></tr>
|
|
13
|
+
</table>
|
|
14
|
+
<address>Apache/2.2.16 (Debian) Server at wp.lab Port 80</address>
|
|
15
|
+
</body></html>
|