PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Socks5] Fürś System benutzen?



amd
10.05.2010, 17:11
Hallo,
ich wollte mal fragen wie ich socks 5 auf linux benutzen kann?

B.z: Die Console über diesen Socks 5 Connecten lassen kann,

Wäre aber für mich besser wenn man des ganze system drüber laufen lassen kann?

(kein Socks 5 server ,zu Socks5 Verbinden)


MFG:Amd

Ratchet
10.05.2010, 17:13
Mit proxychains.

amd
10.05.2010, 17:14
Hallo ok,

Kannst du mir sagen B.Z wie der befehl ist Die Console drüber laufen zu lassen?

MFG:Amd

Ratchet
10.05.2010, 17:20
Erstmal per apt-get installieren. Dann configfile in /etc/proxychains.conf editieren. Dann kannst du es benutzen um andere Programme zu starten die dann den Socks verwenden.

proxychains [program]

amd
10.05.2010, 17:21
Also quasi so

proxychains Terminal
?

MFG:Amd

Ratchet
10.05.2010, 17:22
Ja genau.

amd
10.05.2010, 17:23
ok ich werds mal probieren danke.

Könntest du mir vielleicht mal eine Config Beispiel posten.

Wo ich meine socks daten reintuhen muss.

MFG:Amd

Ps.
Habe als Beispiel proxychains Terminal eingetippt nun erscheint das.?

amd@amd-desktop ~ $ proxychains Terminal
proxychains can't load process....: No such file or directory
amd@amd-desktop ~ $

Ratchet
10.05.2010, 17:26
Zuerst musst du es installieren.

sudo apt-get install proxychains
Und dann musst du deinen Socks in

/etc/proxychains.conf
eintragen

amd
10.05.2010, 17:27
ok ich werds mal probieren danne sage ich bescheid

MFG:Amd

Bonkers
10.05.2010, 17:31
Habe als Beispiel proxychains Terminal eingetippt nun erscheint das.?

amd@amd-desktop ~ $ proxychains Terminal
proxychains can't load process....: No such file or directory
amd@amd-desktop ~ $

Terminal gibts auch nicht, gib mal "bash" ein.


amd@amd-desktop ~ $ proxychains bash

amd
10.05.2010, 17:32
habe es nun probiert die config sieht nun so aus.


# proxychains.conf VER 2.0
#
# HTTP, SOCKS4, SOCKS5 tunneling proxifier.
#

# The option below identifies how the ProxyList is treated.
# only one option should be uncommented at time,
# otherwise the last appearing option will be accepted
#
# Dynamic - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# at least one proxy must be online to play in chain
# (dead proxies are skipped)
# otherwise EINTR is returned to the app
#
# Strict - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# all proxies must be online to play in chain
# otherwise EINTR is returned to the app
#
# Random - Each connection will be done via random proxy
# (or proxy chain, see chain_len) from the list
# this option is good for scans

#dynamic_chain
#strict_chain
random_chain

# Make sense only if random_chain
chain_len = 2

# Quiet mode (no output)
#quiet_mode

# Write stats about good proxies to proxychains.stats
#write_stats

#Some timeouts in milliseconds
#
tcp_read_time_out 15000
tcp_connect_time_out 10000

[ProxyList]
# ProxyList format
# type host port [user pass]
# (values separated by 'tab' or 'blank')
#
#
# Examples:
#
# socks5 192.168.67.78 1080 lamer secret
# http 192.168.89.3 8080 justu hidden
# socks4 192.168.1.49 1080
# http 192.168.39.93 8080
#
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )
#
http 10.0.0.5 3128
http 10.0.0.3 3128
http 10.0.0.5 3128
#socks5 meine ip Des SOCKS5 1080
#socks4 10.5.81.143 1080
#http 192.168.203.18 8080

Dan habe ich in der Console das eingetippt.

amd@amd-desktop ~ $ proxychains fierfox
proxychains can't load process....: No such file or directory

Aber proxychains ist installiert
Siehe hier

amd@amd-desktop ~ $ sudo apt-get install proxychains
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
proxychains ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 13 nicht aktualisiert.
amd@amd-desktop ~ $


MFG:Amd

mbeezy
10.05.2010, 17:35
# kommentiert die Zeile aus, würd ich also vor deiner Proxy-Angabe wegmachen
10.0.0.5 ist eine komische Proxy IP
"fierfox" gibts nicht, heißt "firefox"

Zer0Flag
10.05.2010, 17:36
amd@amd-desktop ~ $ proxychains fierfox

sollte auch :


amd@amd-desktop ~ $ proxychains firefox

heißen...
Bei mir klappt das ganze ganz gut und schon länger...
Aber das habe ich am Anfang auch vermisst z.B. ein Tool wie Proxifier für Linux.



http 10.0.0.5 3128

Stimmen diese Proxys ? Wenn nein dann solltest du die Config mal überarbeiten...

Greetz Zer0Flag

amd
10.05.2010, 17:41
Hallo,
Die config sieht nun so aus


# proxychains.conf VER 2.0
#
# HTTP, SOCKS4, SOCKS5 tunneling proxifier.
#

# The option below identifies how the ProxyList is treated.
# only one option should be uncommented at time,
# otherwise the last appearing option will be accepted
#
# Dynamic - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# at least one proxy must be online to play in chain
# (dead proxies are skipped)
# otherwise EINTR is returned to the app
#
# Strict - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# all proxies must be online to play in chain
# otherwise EINTR is returned to the app
#
# Random - Each connection will be done via random proxy
# (or proxy chain, see chain_len) from the list
# this option is good for scans

#dynamic_chain
#strict_chain
random_chain

# Make sense only if random_chain
chain_len = 2

# Quiet mode (no output)
#quiet_mode

# Write stats about good proxies to proxychains.stats
#write_stats

#Some timeouts in milliseconds
#
tcp_read_time_out 15000
tcp_connect_time_out 10000

[ProxyList]
# ProxyList format
# type host port [user pass]
# (values separated by 'tab' or 'blank')
#
#
# Examples:
#
# socks5 192.168.67.78 1080 lamer secret
# http 192.168.89.3 8080 justu hidden
# socks4 192.168.1.49 1080
# http 192.168.39.93 8080
#
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )
#
socks5 ip meines socks 1080
#socks4 10.5.81.143 1080 hier die ip weiß ich garnicht was das ist !!!!!!!!!
#http 192.168.203.18 8080

Ich will nur socks 5 benutzen kein http

In der Console kommt folgendes


need more proxies
Please provide proxychains.conf with more proxies and do a
kill -CONT 20591

[4]+ Stopped wget Download XAMPP from SourceForge.net (http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe)


MFG:Amd

Zer0Flag
10.05.2010, 17:43
#dynamic_chain
#strict_chain
random_chain

# Make sense only if random_chain
chain_len = 2

Dann wird das ein Problem mit dem hier sein... Weil du dort eine Proxychain von 2 Proxys einstellst er aber nur einen angegeben finded.

Greetz Zer0Flag

Ratchet
10.05.2010, 17:44
Ändere mal


#strict_chain
random_chain


Zu


strict_chain
#random_chain

amd
10.05.2010, 17:53
Hoi,

Also ich habe das mal gemacht /beides...

Also hier erst mal der Console Command


amd@amd-desktop ~ $ wget Download XAMPP from SourceForge.net (http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe)
--2010-05-10 18:50:37-- Download XAMPP from SourceForge.net (http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe)
Resolving apache friends - very easy apache, mysql, php and perl installation without hassles (http://www.apachefriends.org)... 78.46.87.53
Connecting to www.apachefriends.org|78.46.87.53|:80... ProxyChains-2.1 (ProxyChains - TCP and DNS through proxy server. HTTP and SOCKS (http://proxychains.sf.net))
strict chain:....95.170.220.172:1080..broken

[1]+ Stopped wget Download XAMPP from SourceForge.net (http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe)


Jetzte hier die Config.

# proxychains.conf VER 2.0
#
# HTTP, SOCKS4, SOCKS5 tunneling proxifier.
#

# The option below identifies how the ProxyList is treated.
# only one option should be uncommented at time,
# otherwise the last appearing option will be accepted
#
# Dynamic - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# at least one proxy must be online to play in chain
# (dead proxies are skipped)
# otherwise EINTR is returned to the app
#
# Strict - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# all proxies must be online to play in chain
# otherwise EINTR is returned to the app
#
# Random - Each connection will be done via random proxy
# (or proxy chain, see chain_len) from the list
# this option is good for scans

#dynamic_chain
strict_chain
#random_chain

# Make sense only if random_chain
chain_len = 1

# Quiet mode (no output)
#quiet_mode

# Write stats about good proxies to proxychains.stats
#write_stats

#Some timeouts in milliseconds
#
tcp_read_time_out 15000
tcp_connect_time_out 10000

[ProxyList]
# ProxyList format
# type host port [user pass]
# (values separated by 'tab' or 'blank')
#
#
# Examples:
#
# socks5 192.168.67.78 1080 lamer secret
# http 192.168.89.3 8080 justu hidden
# socks4 192.168.1.49 1080
# http 192.168.39.93 8080
#
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )
#
socks5 95.xxxip des socks 1080

Wenn ich jetzte in der Console


proxychains firefox Wie ist meine IP-Adresse? (http://wieistmeineip.de)
Eintippe zeigt er mir aber meine Real ip + Anbieter an.


MFG:Amd

Ratchet
10.05.2010, 17:57
Sicher, dass der Proxy funktioniert und dass es ein Socks5 ist? Du kannst ihn ja mal manuell in den Firefox Einstellungen reinschreiben und testen, ob es dann funktioniert.

amd
10.05.2010, 19:02
Hoi,
ich werds ma probieren moment schreibe euch gleich.

MFG:amd

Hoi,
so erst mal srry das es so lange dauerte für antwort .
Habe noch was dringendes Erledigen müssen , ich werde jetzte probieren und gleich bescheid geben

MFG

Also der Proxy Funktioniert auf jeden fall.
Ich hoffe ihr könnt mir helfen : )
MFG:Amd

LuLu-X
10.05.2010, 19:07
Alternativ könntest du mal tsocks austesten, hat quasi die selbe Funktion. Proxychains lief bei mir auch nicht auf anhieb.

0x30
10.05.2010, 19:07
Hier steht alles und wenn man es so macht, wie es dort steht und es wirklich ein SOCKS5 Proxy ist, funktioniert ist es auch.

ProxyChains - README (HowTo) TCP and DNS through proxy server. HTTP and SOCKS (http://proxychains.sourceforge.net/howto.html)

Hat dein Proxy vielleicht eine User-Authentication?

amd
10.05.2010, 19:21
Hallo
Nein ich habe kein User & kein Password drinn.

Habe es extra ausgeschaltet User / pw.
Ja ist ein socks 5 ich habe diesen Auf Windows server selbst aufgsetzt Funktioniert sogar im Fierfox.

@LuLu-X

Wie funktioniert das mit Tsocks haste - kannste mir mal bitte befehle schicken.

Danke euch jetzte schon allen . und srry das es so schwer mit mir ist ^^
Nur hatte noch nie unter linux einen Proxy benutzt deswegen :(

MFG:Amd

Hallo,
Also über Firefox funktioniert der socks 5 einwandfrei nur nicht mit ProxyChains.


MFG:Amd

err000r
24.05.2010, 19:45
ich habe ein ähnliches problem:
konfiguration sieht so aus:

# proxychains.conf VER 3.1
#
# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.
#

# The option below identifies how the ProxyList is treated.
# only one option should be uncommented at time,
# otherwise the last appearing option will be accepted
#
#dynamic_chain
#
# Dynamic - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# at least one proxy must be online to play in chain
# (dead proxies are skipped)
# otherwise EINTR is returned to the app
#
strict_chain
#
# Strict - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# all proxies must be online to play in chain
# otherwise EINTR is returned to the app
#
#random_chain
#
# Random - Each connection will be done via random proxy
# (or proxy chain, see chain_len) from the list.
# this option is good to test your IDS :)

# Make sense only if random_chain
#chain_len = 2

# Quiet mode (no output from library)
#quiet_mode

# Proxy DNS requests - no leak for DNS data
proxy_dns

# Some timeouts in milliseconds
tcp_read_time_out 15000
tcp_connect_time_out 8000

# ProxyList format
# type host port [user pass]
# (values separated by 'tab' or 'blank')
#
#
# Examples:
#
# socks5 192.168.67.78 1080 lamer secret
# http 192.168.89.3 8080 justu hidden
# socks4 192.168.1.49 1080
# http 192.168.39.93 8080
#
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )
#
[ProxyList]
# meanwile
# defaults set to "tor"
socks5 ip port user pass

proxychains ping etc funktioniert, wenn ich nen browser laufen lass eben nicht.
man!

Jens1337
24.05.2010, 19:49
Hatte ähnliche Probleme, ihr müsst Firefox komplett schließen und es dann nochmal versuchen mit

proxychains /usr/bin/firefox

;)

BigBrother
24.05.2010, 20:09
Herrlich.. :-D

Also, 1tns solltest Du, wie Jens1337 sagte, VORHER FireFox ausschalten, dann via Proxychains erneut starten, aber ich glaube eher weniger das es daran liegt.

Wenn Du Proxychains richtig installed hast, dann mach via Konsole (Bash/Terminal)


sudo nano /etc/proxychains.conf # Wichtig hierbei: ALS SUDO, sonst speichert er es nicht ab.

So.. nun bist Du einfach kackendreist und löschst ALLES. Mein Config sieht wie folgt aus:


strict_chain
proxy_dns
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]
socks5 127.0.0.1 31337127.0.0.1 = IP, die Du ersetzen solltest
31337 = Port, ebenfalls ersetzen..

Nun STRG+X -> Speichern, Überschreiben, fertig..

ALT+F2 / Konsolen-Befehl:

proxychains firefoxNun müsste es laufen. Solltest Du aber User-Auth auf dem Socks haben, müsstest Du einfach die Zeile mit "socks5" ändern. In, wie folgt:


socks5 127.0.0.1 31337 MyUserN4m3 MyPaSSw0rDDa sollte aber zu beachten sein, das Proxychains nicht mit '.' im Usernamen, bzw Passwort zurecht kommt.

Soweit sogut, hier noch eine alternative:

__________________________________________________ ___________

tsocks (Wurde ja auch bereits erwähnt) ...

StepByStep:


sudo apt-get install tsocks# Installiert tsocks


sudo nano /etc/tsocks.conf# Zum bearbeiten der tsocks Config

In diesen Beispiel haben wir einen Socks5 Server mit der IP: 313.313.313.313 und dem Port 31337. Ebenso wie ein User-Auth. Demnach müsste die Config wie folgt aussehen:

local = 313.313.0.0/255.255.255.0
local = 313.313.0.0/255.255.0.0
server = 313.313.313.313
server_port = 31337
server_type = 5
default_user = MyUs3rn4m3
default_pass = MyPas5w0rd



tsocks firefoxausführen.


Alternativ könnt ihr die Socks auch mit dem WGET Befehl testen.


tsocks wget google.de
proxychains wget google.deWenn noch Fragen offen sind, einfach PM schreiben ;-) Kann auch einen Lösungsweg posten, wie man beide Proxy-Tools + SSH Socks benutzt.

Greetz BigBrother

err000r
25.05.2010, 11:09
proxychains scheint nicht zu funktionieren, komisch.
tsocks funktioniert. die konfiguration hatte ich zuvor fast so, hatte allerdings die local zeile abgefuckt. kleiner fehler, gro0e auswirkung. auf jedenfall danke, gibt nen thanks ;)

BigBrother
26.05.2010, 20:10
proxychains scheint nicht zu funktionieren, komisch.
tsocks funktioniert. die konfiguration hatte ich zuvor fast so, hatte allerdings die local zeile abgefuckt. kleiner fehler, gro0e auswirkung. auf jedenfall danke, gibt nen thanks ;)


Bitte..

Übrigends, der Ping Befehl wird nicht "gesockst" .. ebenso MTR auch nicht.. :( Leider, sonst könnte man das besser verfolgen..