Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Make it a command line application Code must run on Linux Mint, May use whicheve

ID: 3815855 • Letter: M

Question

Make it a command line application

Code must run on Linux Mint, May use whichever language preferred though.

write a program that can extract a covert message from the file permissions of an FTP server.

Your program should fetch the file listing (including permissions) from the FTP server

Your program should isolate and decode the file permissions

Your program should support (which can be hardcoded if you wish) both (1) using only the 7 right-most “bits” of the file permissions, filtering out any file with any of the first three “bits” set; and (2) utilizing all ten “bits”; and

Your program should generate and output the covert message (and nothing else).

The Server:

ftp://jeangourd.com

Explanation / Answer

this is how i tried first for a fttp connection % ftp cs.colorado.edu Connected to cs.colorado.edu. 220 bruno FTP server (SunOS 4.1) ready. Name (cs.colorado.edu:yourlogin): anonymous 331 Guest login ok, send ident as password. Password: 230-This server is courtesy of Sun Microsystems, Inc. 230- 230-The data on this FTP server can be searched and accessed via WAIS, using 230-our Essence semantic indexing system. Users can pick up a copy of the 230-WAIS ".src" file for accessing this service by anonymous FTP from 230-ftp.cs.colorado.edu, in pub/cs/distribs/essence/aftp-cs-colorado-edu.src 230-This file also describes where to get the prototype source code and a 230-paper about this system. 230- 230- 230 Guest login ok, access restrictions apply. ftp> cd /pub/HPSC 250 CWD command successful. ftp> ls 200 PORT command successful. 150 ASCII data connection for /bin/ls (128.138.242.10,3133) (0 bytes). ElementsofAVS.ps.Z . . . execsumm_tr.ps.Z viShortRef.ps.Z 226 ASCII Transfer complete. 418 bytes received in 0.043 seconds (9.5 Kbytes/s) ftp> get README 200 PORT command successful. 150 ASCII data connection for README (128.138.242.10,3134) (2881 bytes). 226 ASCII Transfer complete. local: README remote: README 2939 bytes received in 0.066 seconds (43 Kbytes/s) ftp> bye /*program should fetch the file listing (including permissions) from the FTP server*/ hostname="" ftp -i -nv $hostname
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote