Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add #335

Merged
merged 1 commit into from
Apr 25, 2023
Merged

add #335

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions src/views/vuln/VulnDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,21 @@
:content="vulnObj.strategy.desc"
style="color: #38435a"
></MyMarkdownIt>
<div class="vulnDesc" v-if="vulnObj.vul.type == '硬编码'">
<div class="top-stack">
<i class="iconfont iconyuandianzhong"></i>
<span>
字段:{{ vulnObj.vul.taint_position }}
</span>
</div>
<div class="bottom-stack">
<i class="iconfont iconyuandianzhong"></i>
<span>
硬编码值:{{ vulnObj.vul.taint_value }}
</span>
</div>

</div>
</div>
<template v-if="vulnObj.vul.is_need_http_detail">
<div class="module-title">数据流</div>
Expand Down Expand Up @@ -1461,6 +1476,53 @@ tt {
color: #959fb4;
}
}

.top-stack {
margin-top: 18px;
position: relative;
color: #9199a2;
&:before {
content: '';
width: 1px;
height: 20px;
background: #dee4ea;
position: absolute;
left: 5px;
top: 18px;
}

i {
color: #5491ef;
font-size: 12px;
vertical-align: top;
margin-right: 5px;
}

span {
width: calc(100% - 18px);
word-break: break-all;
display: inline-block;
vertical-align: top;
}
}

.bottom-stack {
margin-top: 18px;
color: #9199a2;
i {
color: #6ec79f;
font-size: 12px;
vertical-align: top;
margin-right: 5px;
}

span {
width: calc(100% - 18px);
word-break: break-all;
display: inline-block;
vertical-align: top;
}
}
</style>

<style lang="scss">
Expand Down