-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenum.php
More file actions
114 lines (103 loc) · 5.98 KB
/
enum.php
File metadata and controls
114 lines (103 loc) · 5.98 KB
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
<br />
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-4">
<div id="display_enum_db_data_form" align="central">
<label for="enum_db">Database(s) to Dump or Enumerate:</label>
<input type="text" class="form-control" id="enum_db" name="db" placeholder="i.e. database,names,here ">
<br />
</div>
<div id="display_enum_table_data_form" align="central">
<br />
<label for="enum_table">Table(s) to Dump or Enumerate:</label>
<input type="text" class="form-control" id="enum_table" name="tbl" placeholder="i.e. table,names,here ">
<br />
</div>
<div id="display_enum_column_data_form" align="central">
<br />
<label for="enum_column">Column(s) to Dump or Enumerate:</label>
<input type="text" class="form-control" id="enum_column" name="col" placeholder="i.e. juicy,columns,here ">
<br />
</div>
<div id="display_enum_not_column_data_form" align="central">
<br />
<label for="enum_exclude_column">Column(s) to Exclude or NOT Enumerate:</label>
<input type="text" class="form-control" id="enum_exclude_column" name="excludeCol" placeholder="i.e. useless,columns,here ">
<br />
</div>
<div id="display_enum_db_user_data_form" align="central">
<br />
<label for="enum_db_user">Specific Database User to Enumerate:</label>
<input type="text" class="form-control" id="enum_db_user" name="user" placeholder="i.e. username ">
<br />
</div>
<div id="display_enum_where_data_form" align="central">
<br />
<label for="enum_where">Where Condition to Filter Dump Results:</label>
<input type="text" class="form-control" id="enum_where" name="dumpWhere" placeholder="i.e. group='admin' ">
<br />
</div>
</div>
<div class="col-md-1"></div>
<div class="col-md-4">
<label for="select_enum_options">Select Enumeration Options to Enable:</label>
<select class="form-control" id="enum_options" name="enum_options[]" size="19" onchange="enumCheck()" multiple>
<option value="getAll">Enumerate ALL the Things!</option>
<option value="getBanner" selected="selected">Version or Banner Info</option>
<option value="extensiveFp">Extensive DBMS Fingerprint</option>
<option value="getHostname">Database Server Hostname</option>
<option value="getCurrentDb">Current Active Database</option>
<option value="getDbs">All Available Databases</option>
<option value="getCurrentUser">Current Database User</option>
<option value="getUsers">All Database Users</option>
<option value="getSchema">Dump Database & Table Schema</option>
<option value="isDba">Check if User Is DBA</option>
<option value="getPasswordHashes">Dump Database User Passwords</option>
<option value="getPrivileges">Check Database User Privileges</option>
<option value="getRoles">Check Database User Roles</option>
<option value="getCount">Identify Count</option>
<option value="getTables">Identify Tables</option>
<option value="getColumns">Identify Columns</option>
<option value="search">Search for DB, Table or Column Name</option>
<option value="commonTables">Bruteforce Common Tables</option>
<option value="commonColumns">Bruteforce Common Columns</option>
<option value="dumpTable">Dump Data</option>
<option value="dumpAll">Dump All the Things!</option>
<option value="excludeSysDbs">Exclude Default System Databases</option>
</select><br />
<div class="col-md-1"></div>
<div class="col-md-4">
<label for="select_row_start">Row Start:</label>
<select class="form-control" id="select_row_start" name="limitStart">
<option value="" selected="selected"> Disabled </option>
<?php
foreach(range(1, 1000) as $number) {
echo " <option value=\"$number\"> $number </option>";
}
?>
</select><br />
</div>
<div class="col-md-2"></div>
<div class="col-md-4">
<label for="select_row_stop">Row Stop:</label>
<select class="form-control" id="select_row_stop" name="limitStop">
<option value="" selected="selected"> Disabled </option>
<?php
foreach(range(1, 1000) as $number) {
echo " <option value=\"$number\"> $number </option>";
}
?>
</select><br />
</div>
<div class="col-md-1"></div>
<div class="col-md-12">
<div id="display_enum_sql_query_data_form" align="central">
<br />
<label for="enum_sql_query">SQL Statement to Execute:</label>
<input type="text" class="form-control" id="enum_sql_query" name="enum_sql_query" placeholder="i.e. SELECT version() ">
<br />
</div>
</div>
</div>
<div class="col-md-1"></div>
</div>