Jump to content

Sslstrip


Whykickamoocow

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Make sure there is a space in between, ls and -ltr sslstrip.py

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...