Results 1 to 10 of 10

Thread: sslstrip problem?

  1. #1
    Just burned his ISO
    Join Date
    Feb 2011
    Posts
    5

    Default sslstrip problem?

    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.

    Code:
    root@bt:~# sslstrip
    sslstrip: command not found
    
    root@bt:/pentest/web/sslstrip# sslstrip -a -k
    sslstrip: command not found
    Can anyone help me out?

    Thanks

  2. #2
    Just burned his ISO
    Join Date
    May 2011
    Posts
    5

    Default Re: sslstrip problem?

    You have to install and setup sslstrip. See this thread.

  3. #3
    Just burned his ISO
    Join Date
    May 2011
    Posts
    1

    Thumbs up Re: sslstrip problem?

    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


  4. #4
    Senior Member
    Join Date
    Jan 2010
    Posts
    140

    Default Re: sslstrip problem?

    Quote Originally Posted by freeski201 View Post
    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.

    Code:
    root@bt:~# sslstrip
    sslstrip: command not found
    
    root@bt:/pentest/web/sslstrip# sslstrip -a -k
    sslstrip: command not found
    Can anyone help me out?

    Thanks
    Two easy quick fixes. Either one should work
    1.
    Code:
    root@bt:/pentest/web/sslstrip# python sslstrip -a -k
    2.
    Code:
    root@bt:/pentest/web/sslstrip# chmod +x sslstrip
    root@bt:/pentest/web/sslstrip# python sslstrip -a -k

  5. #5
    Just burned his ISO
    Join Date
    Feb 2011
    Posts
    5

    Default Re: sslstrip problem?

    Thanks for the help. Pretty much tried everything except for those haha. Thats always how it is.

  6. #6
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: sslstrip problem?

    Quote Originally Posted by Dudeman02379 View Post
    Two easy quick fixes. Either one should work
    1.
    Code:
    root@bt:/pentest/web/sslstrip# python sslstrip -a -k
    2.
    Code:
    root@bt:/pentest/web/sslstrip# chmod +x sslstrip
    root@bt:/pentest/web/sslstrip# python sslstrip -a -k
    How is your first "fix" that does nothing but try to run the command (the same way the OP said they tried to run it) going to "fix" anything?
    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.

  7. #7
    Senior Member
    Join Date
    Jan 2010
    Posts
    140

    Default Re: sslstrip problem?

    Quote Originally Posted by thorin View Post
    How is your first "fix" that does nothing but try to run the command (the same way the OP said they tried to run it) going to "fix" anything?
    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 is
    Code:
    #!/usr/bin/env python
    will cause the script to be run by python. This method would only need to be run once.

    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
    Code:
    root@bt:/pentest/web/sslstrip# chmod +x sslstrip.py
    root@bt:/pentest/web/sslstrip#./sslstrip.py -a -k
    Sorry for the confusion.
    Last edited by Dudeman02379; 05-18-2011 at 02:27 PM.

  8. #8
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    2

    Default Re: sslstrip problem?

    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.

  9. #9
    Just burned his ISO
    Join Date
    Oct 2011
    Posts
    1

    Default Re: sslstrip problem?

    Hi,

    BT People, please fix this strange issue.

    You can use sslstrip by typing the following in your terminal:
    $ cd /pentest/web/sslstrip
    Then you need to execute it via:
    $ python sslstrip.py

    Example:
    $ python sslstrip.py -h
    Good Luck!

  10. #10
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: sslstrip problem?

    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).

    Code:
    alias sslstrip='python /pentest/web/sslstip/sslstrip.py'
    Or you could just run that command in your terminal window (though it will then only be good for that terminal session).
    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.

Similar Threads

  1. sslstrip problem
    By lagann in forum Beginners Forum
    Replies: 3
    Last Post: 02-06-2011, 11:19 PM
  2. Ettercap and Sslstrip problem
    By f4llcon in forum Beginners Forum
    Replies: 5
    Last Post: 11-02-2010, 05:26 PM
  3. Problem with Password Sniffing with SSLStrip
    By Eatme in forum Beginners Forum
    Replies: 7
    Last Post: 10-01-2010, 08:24 AM
  4. problem with subsequent running of sslstrip
    By vindal in forum Beginners Forum
    Replies: 0
    Last Post: 09-16-2010, 09:11 AM
  5. Replies: 8
    Last Post: 11-26-2009, 08:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •