Grouping & Added Reverse IP Lookup

master
MD15 2021-02-04 10:56:36 +07:00
parent c80c6f557c
commit 161ba097b2
15 changed files with 66 additions and 1 deletions

View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<title>Reverse IP Lookup</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1 class="text-center my-5">Reverse IP Lookup</h1>
<form action="result.php" method="POST" align="center" class="my-5">
<div class="form-group">
<label for="reverse">Input IP</label>
<input class="form-control" name="reverse">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</body>
</html>

View File

@ -0,0 +1,43 @@
<?php
error_reporting(0);
$nomer = 1;
$input = $_POST['reverse'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://sonar.omnisint.io/reverse/".$input);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
$json = json_decode($output, true);
?>
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1>List Domain</h1>
<table class="table table-bordered">
<tr>
<th>No.</th>
<th>List Domain</th>
<tr>
<?php
for($i=0; $i < count($json); $i++) {
$target = "_blank";
echo "<tr>";
echo "<td>".$nomer++."</td>";
echo "<td><a target='".$target."' href='http://".$json[$i]."'>".$json[$i]."</a></td>";
echo "</tr>";
}
?>
</table>
</div>
</body>
</html>

View File

@ -12,7 +12,7 @@
<h1 class="text-center my-5">Subdomain Scanner</h1> <h1 class="text-center my-5">Subdomain Scanner</h1>
<form action="result.php" method="POST" align="center" class="my-5"> <form action="result.php" method="POST" align="center" class="my-5">
<div class="form-group"> <div class="form-group">
<label for="wordpress">Input Website</label> <label for="subdomain">Input Website</label>
<input class="form-control" name="subdomain" type="url"> <input class="form-control" name="subdomain" type="url">
</div> </div>
<button type="submit" class="btn btn-primary">Submit</button> <button type="submit" class="btn btn-primary">Submit</button>