Skip to content

Commit 614b60d

Browse files
committed
Fix formatting for previous PR
Sorry, the formatting for the previous PR was just totally borked. This fixes it. My bad. Apologies.
1 parent 9fdee9e commit 614b60d

File tree

1 file changed

+18
-33
lines changed

1 file changed

+18
-33
lines changed

windows/windows_cmd_network.md

Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -237,64 +237,49 @@ For more information: http://technet.microsoft.com/en-us/library/bb490939.aspx
237237
* **Note**: Windows XP only.
238238

239239
* **Output**:
240-
* <div class="slide" style="cursor: pointer;"> **Windows XP SP3:** Show/Hide ![](images/output.jpg)</div><div class="view"><code>C:\Users\johndoe>netsh diag show all
241-
242-
Default Outlook Express Mail (Not Configured)
243-
244-
Default Outlook Express News (Not Configured)
245-
246-
Internet Explorer Web Proxy (Not Configured)
247-
248-
Loopback (127.0.0.1)
249-
250-
Computer System (OJ-75E3B8CC9475)
251-
252-
Operating System (Microsoft Windows XP Professional)
253-
254-
Version (5.1.2600)
255-
256-
Modems
257-
240+
* <div class="slide" style="cursor: pointer;"> **Windows XP SP3:** Show/Hide ![](images/output.jpg)</div><div class="view"><code>C:\Users\johndoe>netsh diag show all<br/>
241+
Default Outlook Express Mail (Not Configured)<br/>
242+
Default Outlook Express News (Not Configured)<br/>
243+
Internet Explorer Web Proxy (Not Configured)<br/>
244+
Loopback (127.0.0.1)<br/>
245+
Computer System (OJ-75E3B8CC9475)<br/>
246+
Operating System (Microsoft Windows XP Professional)<br/>
247+
Version (5.1.2600)<br/>
248+
Modems<br/>
258249
Network Adapters
259250
1. [00000001] VMware Accelerated AMD PCNet Adapter
260-
2. [00000010] VMware Accelerated AMD PCNet Adapter
261-
251+
2. [00000010] VMware Accelerated AMD PCNet Adapter<br/>
262252
Network Clients
263253
1. VMware Shared Folders
264254
2. Microsoft Terminal Services
265255
3. Microsoft Windows Network
266-
4. Web Client Network</code></div>
256+
4. Web Client Network
257+
</code></div>
267258

268259
### Firewall Control
269260
* **Command with arguments**: `netsh firewall set opmode [disable|enable]`
270261
* **Description**: Enable or disable the Windows Firewall (requires admin privileges).
271262
* **Minimum required version**: Windows Vista.
272263
* **Output**:
273264
* <div class="slide" style="cursor: pointer;"> **Windows Vista:** Show/Hide ![](images/output.jpg)</div><div class="view"><code>C:\Users\johndoe>netsh firewall set opmode enable
274-
Ok.
275-
265+
Ok.<br/>
276266
C:\Users\johndoe>netsh firewall set opmode disable
277267
Ok.</code></div>
278-
* <div class="slide" style="cursor: pointer;"> **Windows 7:** Show/Hide ![](images/output.jpg)</div><div class="view"><code>C:\Users\johndoe>netsh firewall set opmode enable
279-
268+
* <div class="slide" style="cursor: pointer;"> **Windows 7:** Show/Hide ![](images/output.jpg)</div><div class="view"><code>C:\Users\johndoe>netsh firewall set opmode enable<br/>
280269
IMPORTANT: Command executed successfully.
281270
However, "netsh firewall" is deprecated;
282271
use "netsh advfirewall firewall" instead.
283272
For more information on using "netsh advfirewall firewall" commands
284273
instead of "netsh firewall", see KB article 947709
285-
at http://go.microsoft.com/fwlink/?linkid=121488 .
286-
287-
Ok.
288-
289-
C:\Users\johndoe>netsh firewall set opmode disable
290-
274+
at http://go.microsoft.com/fwlink/?linkid=121488 .<br/>
275+
Ok.<br/>
276+
C:\Users\johndoe>netsh firewall set opmode disable<br/>
291277
IMPORTANT: Command executed successfully.
292278
However, "netsh firewall" is deprecated;
293279
use "netsh advfirewall firewall" instead.
294280
For more information on using "netsh advfirewall firewall" commands
295281
instead of "netsh firewall", see KB article 947709
296-
at http://go.microsoft.com/fwlink/?linkid=121488 .
297-
282+
at http://go.microsoft.com/fwlink/?linkid=121488 .<br/>
298283
Ok.</code></div>
299284

300285
### Wireless Backdoor Creation

0 commit comments

Comments
 (0)