Skip to content

Latest commit

 

History

History
53 lines (22 loc) · 1.16 KB

README.md

File metadata and controls

53 lines (22 loc) · 1.16 KB

ftp_code_injection

image

Using FTP (file transfer protocol) to do code injection into the web sites.
By the way, the files are downloaded as temporary files .

The teacher wanted one file script only.

image

System:

Debian 5.17.11-1kali1 GNU/Linux

about ftp config:

https://linuxconfig.org/how-to-setup-and-use-ftp-server-in-ubuntu-linux

Requeriments:

sudo apt-get update

sudo apt-get install vsftpd

sudo systemctl start vsftpd


pip install -r requirements

Injection

A redirect link (to my github) was injected into localhost page:

image

Local file:

image

video:

simplescreenrecorder-2023-04-23_20.40.00.mp4