# Notes on Cybrary “Advanced Penetration Test”
Opening a command shell listener:root@kali:~# nc -lvp 1234 -e /bin/bash
Transferring files:Redirect output to a file:root@kali:~# nc -lvp 1234 > netcatfile
Send a file from another terminal:root@kali:~# nc 10.0.0.100 1234 < mydirectory/myfile
Automating Tasks with cron jobsAdd your task to one of the scheduled directories
*For more flexibility add a line to /etc/crontab