-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
118 lines (89 loc) · 2.86 KB
/
index.html
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
<html>
<body style="background-color:skyblue">
<script src=/domain.js></script>
<center>
<font color=black size=6>Target : <script>document.write(domain)</script></font>
<br>
________________________________________________________________________________________________
<br><br>
<font color=black size=5>Ignored Extensions : <font color=yellow size=5><script>document.write(disallowed_ext)</script><br>
<font color=black size=5>Static Extensions : <font color=yellow size=5><script>document.write(static_extensions)</script><br>
<font color=black size=5>Scripts Extensions : <font color=yellow size=5><script>document.write(scripts_extensions)</script><br></font>
________________________________________________________________________________________________
<br><br>
<a id=j href="#" onclick="js();changeSelectedColor('j')"><font size=5>Javascripts</a> 
<a id=s href="#" onclick="serverscript();changeSelectedColor('s')">Server Scripts</a> 
<a id=h href="#" onclick="html();changeSelectedColor('h')">Htmls</a> 
<a id=o href="#" onclick="others();changeSelectedColor('o')">Others </a> 
<a id=a href="#" onclick="about();changeSelectedColor('a')">About </font></a> <br><br>
</center>
<div id=links>
<div>
<script>
function changeSelectedColor(item){
j=document.getElementById('j')
s=document.getElementById('s')
h=document.getElementById('h')
o=document.getElementById('o')
a=document.getElementById('a')
j.style.color='black';
s.style.color='black';
h.style.color='black';
o.style.color='black';
a.style.color='black';
eval(item+".style.color='red'")
}
var xmlhttp = new XMLHttpRequest();
var x=document.getElementById("links");
function about(){
x.innerHTML="<font size=5><center>Author : @RakeshMane10<br> Github : https://github.com/rakeshmane/<br></center>"
}
function js(){
x.innerHTML=""
url=domain+"_JS_Links.json"
api(url)
}
function html(){
x.innerHTML=""
url=domain+"_HTML_Links.json"
api(url)
}
function serverscript(){
x.innerHTML=""
url=domain+"_ServerScripts_Links.json"
api(url)
}
function others(){
x.innerHTML=""
url=domain+"_Others_Links.json"
api(url)
}
function api(url){
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var data=this.responseText
data=data.replace(/'/g,'"')
var myArr = JSON.parse(data);
arrange(myArr)
}
};
xmlhttp.open("GET", url, true);
xmlhttp.send();
}
function arrange(data){
for (var key in data) {
x.innerHTML=x.innerHTML+"<font size=5 color=black>"+key+"</font></br>"
var temp=data[key].toString().split(",")
for(var key_ in temp)
{
if(temp[key_].length>1)
{
id=parseInt(key_)+1
x.innerHTML=x.innerHTML+"<font size=1 color=yellow>> <font size=4 color=green>"+temp[key_]+"</font></br>"
}
}
}
}
</script>
<body>
</html>