You have to install and setup sslstrip. See this thread.
I am having a problem getting sslstrip command to work in backtrack 5.
I get this. I go into the directory and get the same thing.
Can anyone help me out?Code:root@bt:~# sslstrip sslstrip: command not found root@bt:/pentest/web/sslstrip# sslstrip -a -k sslstrip: command not found
Thanks
You have to install and setup sslstrip. See this thread.
I had the same problem. But easy to fix
sslstrip guess it's not in the global variables so you have to go directly to the path. I don't remember exactly but go to information gathering > ssl > sslstrip and that will open you a console with the exact path where sslstrip is.
then use ./sslstrip to use it
![]()
Thanks for the help. Pretty much tried everything except for those haha. Thats always how it is.
I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.
I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.
Sorry I should have taken the time to explain why the two methods should work.
The first method should work because when typing "python" before the command the program will be executed by the python runtime environment. You would need to type this everytime.
The second fix is better because is makes the file executable. Then the first line of the script will which iswill cause the script to be run by python. This method would only need to be run once.Code:#!/usr/bin/env python
I also noticed a mistake with my original post. In the second method you would not need to type "python" before the command. So it should look like this
Sorry for the confusion.Code:root@bt:/pentest/web/sslstrip# chmod +x sslstrip.py root@bt:/pentest/web/sslstrip#./sslstrip.py -a -k
Last edited by Dudeman02379; 05-18-2011 at 02:27 PM.
The above did not work for me.
Running using Python did work but it's just wrong.
Just do the following:
cd /pentest/web/sslstrip
python setup.py install
Now you can run from anywhere as usual.
Hi,
BT People, please fix this strange issue.
You can use sslstrip by typing the following in your terminal:
Then you need to execute it via:$ cd /pentest/web/sslstrip
$ python sslstrip.py
Example:
Good Luck!$ python sslstrip.py -h
You can work around the issue by adding the following to $HOME/.profile or $HOME/.bashrc (I forget which and don't have a BT machine to try on right now).
Or you could just run that command in your terminal window (though it will then only be good for that terminal session).Code:alias sslstrip='python /pentest/web/sslstip/sslstrip.py'
Last edited by thorin; 10-11-2011 at 12:30 PM.
I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.
I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.