-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
197 lines (186 loc) · 6.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>xray 安全评估工具文档</title>
<link rel="shortcut icon" href="/assets/favicon.ico">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="xray 是一款功能强大的安全评估工具,由多名经验丰富的一线安全从业者呕心打造而成。">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="google-site-verification" content="7bUJQspjsCrX5gxquwjPEi9R9usjpdDvi3dnGQffRWk" />
<!-- docsify-themeable styles-->
<link rel="stylesheet" href="assets/static/vue.css" title="light">
<link rel="stylesheet alternative" href="assets/static/dark.css" title="dark">
<style>
article img:not(.noresize) {
max-height: 400px;
}
article img {
display: block;
box-shadow: 0 3px 15px 3px rgba(40, 40, 40, 0.5);
margin-top: 20px;
}
section.cover.has-mask .mask {
opacity: .1;
}
section.cover .cover-main>p:last-child a:last-child {
color: white;
}
section.cover .cover-main>p:last-child a {
color: white;
}
section.cover .cover-main>p:last-child a:last-child:hover {
color: white;
opacity: .9;
}
section.cover .cover-main>p:last-child a:hover {
color: white;
}
#TOPBANNER {
display: block;
width: 100%;
padding: 10px 20px;
line-height: normal;
top: 0;
}
#TOPBANNER p {
margin: auto;
height: 100%;
}
#TOPBANNER a {
margin: auto 5px;
font-size: 1.1rem;
letter-spacing: 1px;
}
</style>
</head>
<body>
<div id="app">
<div class="theme-toggle">
<input type="checkbox" id="theme-toggle" />
<label for="theme-toggle"></label>
</div>
</div>
<script>
window.$docsify = {
name: 'xray',
repo: 'chaitin/xray_document',
loadSidebar: true,
loadNavbar: true,
autoHeader: false,
subMaxLevel: 3,
coverpage: ['/'],
onlyCover: false,
basePath: '/',
homepage: "tutorial/introduce.md",
fallbackLanguages: ['en-us', 'zh-cn'],
tabs: {
persist : true,
sync : true,
theme : 'material',
tabComments: false,
tabHeadings: true
},
pagination: {
previousText: '',
nextText: '',
crossChapter: true
},
copyCode: {
buttonText : 'Copy',
errorText : 'Error',
successText: 'Copied'
},
scrollToTop: {
auto: true,
text: 'Top',
right: 15,
bottom: 25,
offset: 500
},
'page-toc': {
tocMaxLevel: 4,
target: 'h1, h2, h3, h4'
},
topBanner: {
content: "🎉 XPOC 发布了! <a href='https://stack.chaitin.com/tool/detail?id=1036' target='_blank'>点击快速体验!</a>",
textAlign: "center",
position: "relative",
},
search: {
maxAge: 86400000, // Expiration time, the default one day
paths: 'auto',
placeholder: 'Type to search',
noData: 'No Results!',
// Headline depth, 1 - 6
depth: 6,
hideOtherSidebarContent: false, // whether to hide other sidebar content
},
}
</script>
<script>console.log("想为 xray 贡献一份力量么?\n想为了实现宇宙第一扫描器的目标奋斗么?\n我们期待充满热情,怀抱梦想的你\n投递简历至:yang.yu@chaitin.com")</script>
<script src="./assets/static/docsify.min.js" data-ga="UA-176727836-2"></script>
<script src="./assets/static/prism-yaml.min.js"></script>
<script src="./assets/static/prism-javascript.min.js"></script>
<script src="./assets/static/prism-go.min.js"></script>
<script src="./assets/static/prism-python.min.js"></script>
<script src="./assets/static/docsify-tabs.js"></script>
<script src="./assets/static/docsify-pagination.min.js"></script>
<script src="./assets/static/docsify-copy-code.js"></script>
<script src="./assets/static/docsify-scroll-to-top.min.js"></script>
<script src="./assets/static/zoom-image.min.js"></script>
<!-- <script src="./assets/static/docsify-page-toc.js"></script>-->
<script src="./assets/static/docsify-ga.min.js"></script>
<script src="./assets/static/docsify-search.min.js"></script>
<script>
function plugin (hook, vm) {
hook.ready(function () {
const { topBanner } = vm.config
if (!topBanner) {
return
}
const defaultTag = topBanner.defaultTag || 'span'
const bannerContent = vm.compiler.compile(topBanner.content)
const backgroundColor = topBanner.backgroundColor || '#deebff'
const textColor = topBanner.textColor || '#091E42'
const linkColor = topBanner.linkColor || textColor
const textAlign = topBanner.textAlign || 'center'
const bannerPosition = topBanner.position || 'fixed'
// const bannerZIndex = topBanner.zIndex || '99'
// creating the new element
const bannerElement = document.createElement(defaultTag)
bannerElement.setAttribute('id', 'TOPBANNER')
// adding bannerElement to DOM
const placeholder = document.querySelector('body')
placeholder.insertBefore(bannerElement, placeholder.childNodes[0])
// add the contents
const contentEl = document.querySelector(`${defaultTag}#TOPBANNER`)
contentEl.innerHTML = bannerContent
contentEl.style.backgroundColor = backgroundColor
contentEl.style.color = textColor
contentEl.style.position = bannerPosition
// contentEl.style.zIndex = bannerZIndex
const contentAnchorEl = document.querySelector(`${defaultTag}#TOPBANNER a`)
contentAnchorEl.style.color = linkColor
bannerElement.style.textAlign = textAlign
})
}
window.$docsify.plugins = [].concat(plugin, window.$docsify.plugins)
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f5e19b6b0820ab193dddf50ed912babb";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script
src="assets/static/docsify-themeable/main.min.js"
type="text/javascript">
</script>
<script
src="assets/static/docsify-themeable/index.min.js"
type="text/javascript">
</script>
</body>
</html>