Commit 0e73bee0 authored by bobloblaw's avatar bobloblaw
Browse files

Update cmd.md

parent 7e64b933
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -156,7 +156,6 @@ diskpart
list volume
```


The command to deal with mounting/mapping is **net use**

Using **net use** we can connect to other shared folder, on other systems. Many windows machines have a default-share called IPC (Interprocess communication share). It does not contain any files. But we can usually connect to it without authentication. This is called a **null-session**. Although the share does not contain any files it contains a lot of data that is useful for enumeration.
@@ -187,5 +186,10 @@ Z:\>c:
C:\
```

#### Switch between drives
So if you have mapped a drive like the example before, 
 No newline at end of file
** Remove a network drive - umount it**
First leave the drive if you are in it:

```
c:
net use z: /del
```