Skip to content

Commit 44fe6d0

Browse files
committed
added template styles / added link to header
1 parent b93e38d commit 44fe6d0

File tree

9 files changed

+159
-13
lines changed

9 files changed

+159
-13
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</a>
1919
<div class="menu">
2020
<ul>
21-
<li><a href="#">Why</a></li>
21+
<li><a href="/template.html">Dahua Vulnerability</a></li>
2222
<li><a href="#">Services</a></li>
2323
<li><a href="#">How to get started</a></li>
2424
<li><a href="#">Testimonials</a></li>

static/dist/scripts-min.js

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

static/dist/styles.css

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

static/img/icons/lowpoly-form.svg

Lines changed: 1 addition & 0 deletions
Loading

static/img/logo.svg

Lines changed: 65 additions & 1 deletion
Loading

static/scripts/scripts.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ var scene = new ScrollMagic.Scene({
2626
triggerHook: "onEnter",
2727
offset: 120
2828
})
29-
.addIndicators()
3029
.setTween(tween_projects)
3130
.addTo(controller);

static/styles/_menu.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
margin-top: -10px;
1414
img{
1515
height: 100%;
16-
margin-left: -190px;
16+
margin-left: -120px;
1717
}
1818
}
1919
.menu, .footer-menu{
@@ -66,6 +66,7 @@
6666
.menu-section{
6767
min-height: 0;
6868
flex-direction: column;
69+
align-items: flex-start;
6970
}
7071
.menu{
7172
display: none;

static/styles/_template.scss

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,78 @@
33
height: 250px;
44
.title{
55
margin-bottom: 10px;
6+
font-size: 40px;
67
}
78
}
9+
.check-form--title{
10+
font-size: 32px;
11+
font-family: Museo-Bold, sans-serif;
12+
text-align: center;
13+
margin-top: 60px;
14+
margin-bottom: 25px;
15+
}
16+
.check-form--description{
17+
display: flex;
18+
justify-content: space-between;
19+
align-items: flex-start;
20+
margin: auto;
21+
max-width: 960px;
22+
padding-bottom: 60px;
23+
.description--default{
24+
font-size: 17px;
25+
line-height: 1.5;
26+
}
27+
.description--bord-text{
28+
font-size: 19px;
29+
font-family: Museo-Bold, sans-serif;
30+
border-left: 5px solid #257FE6;
31+
padding-left: 17px;
32+
margin-left: 40px;
33+
}
34+
b{
35+
font-family: Museo-Bold, sans-serif;
36+
}
37+
@media screen and (max-width: 890px){
38+
flex-wrap: wrap;
39+
.description--bord-text{
40+
margin-left: 0;
41+
margin-top: 30px;
42+
}
43+
}
44+
}
45+
.form{
46+
background: #F5FAFF url("./../../static/img/icons/lowpoly-form.svg") no-repeat center;
47+
background-size: cover;
48+
max-width: 100%;
49+
padding-bottom: 100px;
50+
margin-bottom: 30px;
51+
.title{
52+
font-family: Museo, sans-serif;
53+
font-size: 26px;
54+
padding-top: 59px;
55+
margin-bottom: 30px;
56+
text-align: center;
57+
}
58+
#ip_address{
59+
padding: 13px 15px 15px 14px;
60+
background: rgba(255,255,255, .8);
61+
}
62+
.ip-check--btn{
63+
width: 280px;
64+
color: #fff;
65+
font-size: 17px;
66+
padding: 11px 0 13px;
67+
margin: auto;
68+
border: none;
69+
}
70+
}
71+
}
72+
.chart{
73+
.title{
74+
font-family: Museo, sans-serif;
75+
font-size: 26px;
76+
padding-top: 60px;
77+
margin-bottom: 30px;
78+
text-align: center;
79+
}
880
}

template.html

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</a>
1919
<div class="menu">
2020
<ul>
21-
<li><a href="#">Why</a></li>
21+
<li><a href="/template.html">Dahua Vulnerability</a></li>
2222
<li><a href="#">Services</a></li>
2323
<li><a href="#">How to get started</a></li>
2424
<li><a href="#">Testimonials</a></li>
@@ -35,18 +35,27 @@
3535
<div class="title">
3636
Dahua backdoor check
3737
</div>
38-
<div class="description">
39-
Dahua DVR RPC Vulnerability
40-
</div>
4138
</section>
4239
<section class="check">
4340
<div class="check-form--wrap">
4441
<div class="check-form--title">Dahua DVR RPC Vulnerability</div>
45-
<form action="/">
46-
<input type="tel" id="ip_address">
47-
</form>
42+
<div class="check-form--description">
43+
<div class="description--default">On 7 March 2017 an anonymous researcher Bashis published details of vulnerabilities discovered in Dahua manufactured video cameras (or CCTV cameras). According to
44+
<a href="#">Shodan</a>, there is an estimated <b>400,000 IP</b> addresses that use Dahua equipment. The vulnerability allows an unauthorised user to gain admin privileges to Dahua kit. </div>
45+
<div class="description--bord-text">Our Mission is to enable researchers eliminate vulnerabilities in their cameras and to equip them with tools and methods to update or disable affected devices.</div>
46+
</div>
4847
</div>
4948
</section>
49+
<section class="form">
50+
<div class="title">Do it now</div>
51+
<form action="/">
52+
<input type="text" id="ip_address" placeholder="Enter Dahua camera IP">
53+
<button type="submit" class="ip-check--btn">Check</button>
54+
</form>
55+
</section>
56+
<section class="chart">
57+
<div class="title">Dahua vulnerable camera statistics</div>
58+
</section>
5059
</main>
5160
<footer>
5261
<div class="footer-content">

0 commit comments

Comments
 (0)