-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
153 lines (122 loc) · 5.67 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php
include_once(__DIR__.'/assets/header.php');
?>
<!-- START BODY -->
<div class="index">
<div class="heading">
<h1> All-in-one Online Vulnerability scanner (PHP, JAVA ...) </h1>
<div class="warning2">
<b>This tool below, doesn't really work. </b>
<br/>Instead, it's just a free idea I wanted to share - to create Virustotal-like scanner for Vulnerabilities for projects (PHP, JAVA, etc..).
<br/>Good luck to any company whoever decides to build such online-tool. Get the this code on <a href="https://github.com/Puvox/All-Vulnerability-Scanners" target="_blank"><img src="https://i.imgur.com/lV6xBOI.png" width="100" /></a>.
</div>
</div>
<div class="file-upload">
<form id="upload_form" action="checker.php" method="POST" enctype="multipart/form-data">
<div class="image-upload-wrap">
<input name="fileToUpload" class="file-upload-input" type='file' onchange="readURL(this);" accept="*/*" />
<div class="drag-text">
<h3>Drag & Drop or Select <code>.zip</code> package of target project</h3>
</div>
</div>
<div class="file-upload-content">
<div class="image-title-wrap">
Uploading...
</div>
</div>
<!-- <button class="file-upload-btn" type="button" onclick="$('.file-upload-input').trigger( 'click' )">Upload .zip package</button> -->
<div id="submitbuttn" >
<input type="submit" value="START UPLOAD!" onclick="alert('This is just demo, doesnt work actually'); void(0); return false; ">
</div>
</form>
</div>
<div class="scan-site">
Or type a website to scan for vulnerabilities:
<input type="text" />
<input type="submit" />
</div>
<div class="warning">
Note, this tool will only scan for native vulnerabilities, so, if you are uploading a part of project (like plugin, extension...), then this tool can't approve the validity of privilegge & authorization funtions coming from specific CMS.
</div>
<br/><br/>
<div class="support_table">
( This is very incomplete list of scanners. This list was just obtained from <a href="https://www.owasp.org/index.php/Category:Vulnerability_Scanning_Tools">this</a> and <a href="https://www.owasp.org/index.php/Category:Vulnerability_Scanning_Tools">this</a>)
<br/> These lists was not used, so don't forget to include them : <a href="https://github.com/topics/vulnerability-scanner">this</a>, <a href="https://github.com/topics/vulnerability-scanners">this</a>, <a href="https://github.com/topics/security-scanner">this</a> and <a href="https://google.com/search?q=vulnerability+scanner">google of course </a>
<table>
<tr>
<td class="company">Company Name</td>
<td class="name">Software Name</td>
<td class="last_update">comment</td>
</tr>
</table>
<?php
$langs= ['php','java', 'c', 'c#', 'python', 'ruby', 'perl', 'javascript'];
foreach ($langs as $lang)
{ ?>
<h2><?php echo $lang;?></h2>
<span class="supported title">Currently supported:</span>
<table class="supported">
<?php
foreach($f->all_scanners("supported", $lang) as $block) {
?>
<tr>
<td class="company"><?php echo $block['company'];?></td>
<td class="name"><a href="https://google.com/search?q=Vulnerability+scanner+<?php echo $block['company'];?>+<?php echo $block['name'];?>" target="_blank"><?php echo $block['name'];?></a></td>
<td class="last_update">Last fetched update: <?php echo $block['last_updated'];?></td>
</tr>
<?php
}
?>
</table>
<span class="unsupported title">not integrated in this tool yet:</span>
<table class="unsupported">
<?php
foreach($f->all_scanners("unsupported", $lang) as $block) {
?>
<tr>
<td class="company"><?php echo $block['company'];?></td>
<td class="name"><a href="https://google.com/search?q=Vulnerability+scanner+<?php echo $block['company'];?>+<?php echo $block['name'];?>" target="_blank"><?php echo $block['name'];?></a></td>
<td class="last_update"><?php echo $block['reason'];?></td>
</tr>
<?php
}
?>
</table>
<?php
}
?>
<h2>Website Scanners (Online)</h2>
<span class="supported title">Currently supported:</span>
<table class="supported">
<?php
foreach($f->all_scanners("supported", "online-website") as $block) {
?>
<tr>
<td class="company"><?php echo $block['company'];?></td>
<td class="name"><a href="https://google.com/search?q=Vulnerability+scanner+<?php echo $block['company'];?>+<?php echo $block['name'];?>" target="_blank"><?php echo $block['name'];?></a></td>
<td class="last_update">Last fetched update: <?php echo $block['last_updated'];?></td>
</tr>
<?php
}
?>
</table>
<span class="unsupported title">not integrated in this tool yet:</span>
<table class="unsupported">
<?php
foreach($f->all_scanners("unsupported", "online-website") as $block) {
?>
<tr>
<td class="company"><?php echo $block['company'];?></td>
<td class="name"><a href="https://google.com/search?q=Vulnerability+scanner+<?php echo $block['company'];?>+<?php echo $block['name'];?>" target="_blank"><?php echo $block['name'];?></a></td>
<td class="last_update"><?php echo $block['reason'];?></td>
</tr>
<?php
}
?>
</table>
</div>
</div>
<!-- END BODY -->
<?php
include_once(__DIR__.'/assets/footer.php');
?>