-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
59 lines (57 loc) · 2.82 KB
/
index.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://demos.creative-tim.com/argon-design-system/assets/css/argon-design-system.min.css">
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<style>.radius {border-radius: 20px}</style>
<body class="bg-gradient-indigo">
<div class="container mt-5">
<div class="card radius" style="width: 100%;">
<img src="https://static.dribbble.com/users/1162077/screenshots/2895509/animated-small-server.gif"
width="400" class="m-auto">
<div class="card-body text-right" dir="rtl">
<h5 class="card-title">HackerTarget-API-Tools</h5>
<h4 class="card-text">تەواوی زانیارییەکانی سێرڤەر تەنها بە دۆمەینێک</h4>
<hr>
<p>دۆمەین بنوسە</p>
<input type="text" placeholder="example.com" class="form-control col-lg-4 shadow-lg border-0 col-sm">
<br>
<?php
$btns = [
'Traceroute','Ping','DNS','RDNS','DNS Host','Shared','Zone','Whois','iPlookup','RIP','TCP Port',
'UDP Port','Sub Look','Header','Extract','nMap'
];
foreach($btns as $i => $btn){
echo '<span onclick="request('.$i.')" class="btn btn-darker m-2">'.$btn.'</span>';
}
?>
<div class="card p-3 mt-2 radius bg-darker text-left d-none" dir="ltr">
<h2 class="text-white m-2">Result : </h2>
<pre class="text-white result" style="word-wrap: break-word; white-space: pre-wrap;"></pre>
</div>
<script>
function request(id){
$(".bg-darker").removeClass('d-none');
$(".result").html('loading...');
var domain = $("input").val();
if(domain == ''){
$(".result").html('Domain is Empty !');
}else{
$.post('response.php' , {id:id , domain:domain} , function(response){
$(".result").html(response)
})
}
}
</script>
</div>
</div>
</div>
</body>
</html>