Several useful command-line programs for accessing the network and web sites are already installed on your attacker VM.
tcpdumpcan be used to sniff network traffic.netcatbehaves like a simple TCP client or server taking input and output to standard input and standard output.curlandwgetare two different programs for accessing web sites from the command line, both with lots of options.w3mis a text based web browser.
All of them have manual pages you can read to learn more.
You can copy files between different hosts by using the scp command: changing the port is a capital -P