# FTP & SAMBA

### FTP

Sometimes anonymous login is allowed on a FTP server.

`<span class="monospace">ftp <server/ip></span>`

During the login you'll get asked to provide a user name and ther you just enter: anonymous

<div class="wikimodel-emptyline" id="bkmrk-">  
</div><div class="wikimodel-emptyline" id="bkmrk--0">  
</div>### SAMBA

#### Access without username or password

There are also some cases where you are allowed to login to an Samba share without username or password. To perform this follow these steps:

`<span class="monospace">smbclient //host/share -U %<br></br>OR </span>`  
`smbclient //host/share -U " "%" "`

<div class="wikimodel-emptyline" id="bkmrk--1">  
</div>#### Access with password

If you were able to get a password you cann access the SAMBA share like this:

`<span class="monospace">smbclient //host/share</span>`

Then you'll get asked to enter the password.

<div class="wikimodel-emptyline" id="bkmrk--2">  
</div>#### Download the whole Share

You can download the whole samba share with following command:

`<span class="monospace">smbget –R smb://<ip>/<sharename></span>`

Everything which is stored on the specified share will get downloaded.