epinna / weevely3

Weaponized web shell
GNU General Public License v3.0
3.21k stars 605 forks source link

it could not read the local file path #143

Closed alauthor closed 3 years ago

alauthor commented 3 years ago

Error loading file '/Desktop/wordlist.txt': [Errno 2] No such file or directory: '/Desktop/wordlist.txt' the file should be on server I connect with not with the machine I use how could I solve this problem ?

Danielvdd1 commented 3 years ago

Do you use :bruteforce_sql? It uses a wordlist from the local machine, not the server.

If the problem is that the wordlist is on the server, you can for example download the wordlist with :file_download.

carlosalbertocruz commented 3 years ago

I'm used this command: :file_download index.php (remote local) /root/Desktop (local path), but I received this error Error loading file '/root/FileUpload': [Errno 13] Permission denied: '/root/Desktop '

Danielvdd1 commented 3 years ago

Probably because you/weevely don't have permission to the /root directory. Use a /home user folder instead. (Or run weevely with sudo. I have not tested this.)