NIT-Hamirpur-NITH / ProxyHelper

This repository will contain the code for a cool application that would remove the need to use FoxyProxy and likes.
8 stars 11 forks source link

Installation fails on Kali Linux #24

Open lokeshh opened 8 years ago

lokeshh commented 8 years ago

I'm on the Kali Linux with root account and tried to install ProxyHelper but it failed giving the following error:

You are not in /root/.proxyhelper directory, you are doing it wrong
See steps on github.com again

Here's how executed the installation commands:

root@kali:~# proxychains  git clone https://github.com/Nithmr/ProxyHelper ~/.proxyhelper
ProxyChains-3.1 (http://proxychains.sf.net)
Cloning into '/root/.proxyhelper'...
|DNS-request| github.com 
|D-chain|-<>-127.0.0.1:1234-<><>-8.8.8.8:53-<><>-OK
|DNS-response| github.com is 192.30.253.112
|D-chain|-<>-127.0.0.1:1234-<><>-192.30.253.112:443-<><>-OK
remote: Counting objects: 188, done.
remote: Total 188 (delta 0), reused 0 (delta 0), pack-reused 188
Receiving objects: 100% (188/188), 35.81 KiB | 47.00 KiB/s, done.
Resolving deltas: 100% (96/96), done.
Checking connectivity... done.
root@kali:~#  cd ~/.proxyhelper
root@kali:~/.proxyhelper#  chmod +x install.sh
root@kali:~/.proxyhelper#  sudo ./install.sh
You are not in /root/.proxyhelper directory, you are doing it wrong
See steps on github.com again
root@kali:~/.proxyhelper#  ./install.sh
You are not in /root/.proxyhelper directory, you are doing it wrong
See steps on github.com again
root@kali:~/.proxyhelper# 
Akarshit commented 8 years ago

Thanks for the report. A major change in installation is on its way. I will test the next release with Kali. It should be done in a couple of days.

clearnote01 commented 8 years ago

if [ ! $(pwd | sed 's/\/.\/.\///') = '.proxyhelper' ]

The sed pattern to assert whether the user is in "~/.proxyhelper" directory or not, fails for root user. Thanks for reporting this.

For now, you can just remove the if construct, all other components should work fine as long as you are in "$HOME/.proxyhelper" directory.