Whykickamoocow Posted February 14, 2012 Share Posted February 14, 2012 Im trying to get ssltrip to work but keep getting this error message, root@bt:~# cd /pentest/web/sslstrip/ root@bt:/pentest/web/sslstrip# ./sslstrip.py -l 8080 bash: ./sslstrip.py: Permission denied Im runnuing backtrack 5 r1 on an acer one laptop,Im not that great with this yet so any comments please keep it simple. Thanks Quote Link to comment Share on other sites More sharing options...
Diggs Posted February 14, 2012 Share Posted February 14, 2012 You probably need to set the permissions for that file to execute. There are two ways to fix this. First Method ============= run 'python ./sslstrip.py -l 8080' python will read the script and run it. Second Method ============= First, find out what the permissions currently are with 'ls -ltr sslstrip.py' in the directory you have sslstrip.py in. You should have rwxrw-rw- for that to run natively. Try 'sudo chmod 755 sslstrip.py' Then run './sslstrip.py -l 8080' Basically, this is happening because the file is readable, but not executable. You should set it to exacutable to run without the 'python' command prepended. Otherwise, python will be executed and it will just read the sslstrip.py script. Let me know if that makes sense. Quote Link to comment Share on other sites More sharing options...
Whykickamoocow Posted February 14, 2012 Author Share Posted February 14, 2012 Thanks for that it worked a treat, well happy,,,, But i dont realy understand it all. i did ls -ltr sslstrip.py and this is what i got, root@bt:~# cd /pentest/web/sslstrip/ root@bt:/pentest/web/sslstrip# ./sslstrip.py -l 8080 bash: ./sslstrip.py: Permission denied root@bt:/pentest/web/sslstrip# ls -ltr sslstrip.py -rw-r--r-- 1 root root 4066 2011-05-06 06:22 sslstrip.py root@bt:/pentest/web/sslstrip# ls-ltr sslstrip.py ls-ltr: command not found root@bt:/pentest/web/sslstrip# sudo chmod 755 sslstrip.py root@bt:/pentest/web/sslstrip# ./sslstrip.py -l 8080 sslstrip 0.8 by Moxie Marlinspike running... as you can see in mine i have -rw--r--r, does this mean i can only read and wright part of this file and not all of it, and the (sudo chmod 755)i dont understand it, do you have any info about it or a good link so i can read up about it. Thanks again Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted February 14, 2012 Share Posted February 14, 2012 Make sure there is a space in between, ls and -ltr sslstrip.py Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.