forked from Coopeh/PHP-MultiDig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
120 lines (109 loc) · 4.07 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
/*
* Dig for DNS Records
*
* Ed Cooper 2015
*/
date_default_timezone_set('Europe/London');
ini_set('max_execution_time', 300);
ini_set("display_errors", 0);
?>
<html>
<head>
<title>PHP MultiDig</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico" />
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
<link href="assets/css/style.min.css" rel="stylesheet" type="text/css">
<script src="assets/js/jquery.min.js" type="text/javascript"></script>
<script src="assets/js/ZeroClipboard.min.js" type="text/javascript"></script>
<script src="assets/js/script.min.js" type="text/javascript"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-20972363-7', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="https://github.com/Coopeh/PHP-MultiDig/">Fork me on GitHub</a>
</div>
</div>
<div class="container">
<div class="header">
PHP MultiDig
</div>
<div class="form">
<form name="dig" id="dig" action="process.php" method="post">
<div class="textarea">
<textarea rows="10" name="domains" id="domains" placeholder="List of domains" tabindex="1" autofocus/></textarea>
</div>
<div class="radio_list">
<ul>
<li>
<input type="radio" name="radio" id="radio1" value="radio1" class="radio" checked/>
<label for="radio1">A Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio2" value="radio2" class="radio"/>
<label for="radio2">AAAA Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio3" value="radio3" class="radio"/>
<label for="radio3">CNAME Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio4" value="radio4" class="radio"/>
<label for="radio4">MX Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio5" value="radio5" class="radio"/>
<label for="radio5">NS Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio6" value="radio6" class="radio"/>
<label for="radio6">PTR Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio7" value="radio7" class="radio"/>
<label for="radio7">SPF Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio8" value="radio8" class="radio"/>
<label for="radio8">TXT Records</label>
</li>
<li>
<input type="radio" name="radio" id="radio9" value="radio9" class="radio"/>
<label for="radio9">Reverse DNS</label>
</li>
</ul>
</div>
<div class="dns-server">
<input type="text" class="dns-server" name="dns-server" id="dns-server" placeholder="DNS Server: Leave blank if you wish to use Google's DNS Servers" />
</div>
<div class="submit">
<button class="submit" type="submit" tabindex="2">Submit</button>
<button class="clear" type="button" tabindex="3">Clear</button>
</div>
</form>
</div>
<div class="results">
<div class="content" id="content">
<table id="content-list"></table>
</div>
</div>
<button class="copy-button" id="copy-button">Copy To Clipboard</button>
<a class="export-button" id="export-button">Export To CSV</a>
<button class="sort-button" id="sort-button">Sort By Name</button>
<button class="hide-button" id="hide-button">Hide Recordless Domains</button>
<div class="footer">
<a href="https://ed.gs" target="_blank">Ed Cooper <?php echo date("Y"); ?></a>
</div>
</div>
</body>
</html>