![]() ![]() this script will take every file in the chosen directory - didn't figure out how to take all of the files from all of the sub directories as well, but this is more than good enough - will leave here for future people to see. ![]() Ok so after much trial and error i found how to do it. The choice itself of 1 or all, i can do, (press 1 to copy all ->) but the command itself to copy all or just one, and if one then based on what im not sure how to do.Īdding what Xendrm suggested to the code yealds this: Type a number for download or type 0 for allįile "/home/USER/aPython scripts/BRUT FTP.py", line 49, in įile "/home/USER/aPython scripts/BRUT FTP.py", line 44, in downloadįile "/usr/lib/python2.7/ftplib.py", line 406, in retrbinaryįile "/usr/lib/python2.7/ftplib.py", line 368, in transfercmdįile "/usr/lib/python2.7/ftplib.py", line 331, in ntransfercmdįile "/usr/lib/python2.7/ftplib.py", line 244, in sendcmdįile "/usr/lib/python2.7/ftplib.py", line 219, in getresp I built this simple tool to brute force and connect to the ftp server import socketĬurrently the tool works (i planted the right password 3rd on the file list) - when i log in i get this output: port 21 is openĭrwxr-xr-x 2 0 0 4096 Jan 17 19:15 Folderĭrwxr-xr-x 2 0 0 4096 Jan 17 19:12 Folder2ĭrwxr-xr-x 2 0 0 4096 Jan 17 19:16 Folder3įrom here, what i want is to allow the user (me) to retrieve files either 1 specific file or all of them - but i do not know what is the simplest way to go about this ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |