rofl0r / rofl0r/proxychains-ng

Second instance not running

Open
#136 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
10.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Having an issue with running multiple configs through different shell windows at the same time. Basically i'm using it to connect to a service with a python script.

The first time i run "proxychains /path/to/file/proxychains.conf" it works perfectly fine. The second time i try to run any of the following:

proxychains /path/to/file/proxychains.conf
proxychains /path/to/file/proxychains-xxxx.conf

It gives me this with the respective path included:

/etc/proxychains-xxxx.conf: 18: /etc/proxychains-xxxx.conf: strict_chain: not found
/etc/proxychains-xxxx.conf: 41: /etc/proxychains-xxxx.conf: tcp_read_time_out: not found
/etc/proxychains-xxxx.conf: 42: /etc/proxychains-xxxx.conf: tcp_connect_time_out: not found
/etc/proxychains-xxxx.conf: 60: /etc/proxychains-xxxx.conf: [ProxyList]: not found
/etc/proxychains-xxxx.conf: 64: /etc/proxychains-xxxx.conf: http: not found

And i guarantee you the config file is fully configured. It works for the first instance.

If i run:

proxychains -f /path/to/file/proxychains-xxxx.conf

It gives me:

/usr/bin/proxychains: 9: exec: -f: not found

What am i doing wrong? Any and all help is appreciated!

OS: Ubuntu 15.04

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking how /usr/bin/proxychains parses its arguments and config paths, then reproduce the first and second invocations with the two configuration files shown. Compare the documented command form with the failing -f invocation; done means multiple shell windows can use separate configs without treating configuration directives as shell commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, shell, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.