Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I get environment variables from linux and set them into the proxychains.conf? #445

Open
Hyper-glitch opened this issue Apr 26, 2022 · 6 comments

Comments

@Hyper-glitch
Copy link

I mean
image

Is it possible?

I have tried cases:
${PROXY1}
$PROXY1

but it does not work

@rofl0r
Copy link
Owner

rofl0r commented Apr 26, 2022

proxychains.conf is a textfile, not a shell script. as such, variable expansion naturally doesn't work. however, you can create your proxychains.conf dynamically using a shell script, e.g. as proposed in #246

@Hyper-glitch
Copy link
Author

Thanx!
So I also have another question ahahah
Can I run proxychains4 with microsocks in a docker container?)
What argument I should add to proxychains4?)

@rofl0r
Copy link
Owner

rofl0r commented Apr 27, 2022

Can I run proxychains4 with microsocks in a docker container?)

i'm certain you can, but that just makes it more difficult to generate a dynamic proxychains.conf. what's the advantage of using docker for this, apart from wasting a lot more RAM and disk space?

What argument I should add to proxychains4?)

i think proxychains4 microsocks -i 0.0.0.0 should work.

@Hyper-glitch
Copy link
Author

To tell the truth the main problem that I had when tried to install microsocks on debian 10, it installed just with snap...
but then I can't start proxychains4 with that microsocks on debian 10, more precisely

proxychains4 microsocks-simosx.microsocks

Therefore I've decided to try run microsocks in a docker container) that's it)

@rofl0r
Copy link
Owner

rofl0r commented Apr 27, 2022

it installed just with snap...

the cool kids on github install stuff from source... )

@Hyper-glitch
Copy link
Author

weeell huh it's time to become the cool kid !))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants