Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Baby On Board.


devel / comp.unix.shell / Re: Check a socks5 proxy with netcat.

SubjectAuthor
o Check a socks5 proxy with netcat.Jalen Q

1
Re: Check a socks5 proxy with netcat.

<f87a222b-3b60-4bcf-b980-375072688ed0n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=6928&group=comp.unix.shell#6928

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ad4:4e07:0:b0:5ee:e5d8:ac5f with SMTP id dl7-20020ad44e07000000b005eee5d8ac5fmr1439976qvb.9.1681319287485;
Wed, 12 Apr 2023 10:08:07 -0700 (PDT)
X-Received: by 2002:a05:6870:241f:b0:184:806d:12d5 with SMTP id
n31-20020a056870241f00b00184806d12d5mr1896816oap.1.1681319287221; Wed, 12 Apr
2023 10:08:07 -0700 (PDT)
Path: rocksolid2!news.neodome.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Wed, 12 Apr 2023 10:08:06 -0700 (PDT)
In-Reply-To: <e4254f87-11cf-4b9c-9750-9e0dda2af09fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:e82:d400:e5cb:ec4d:b7d7:1ca6;
posting-account=rR5tnAoAAAC2kIBHWh0n6frMCTGowyvE
NNTP-Posting-Host: 2600:1700:e82:d400:e5cb:ec4d:b7d7:1ca6
References: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com> <e4254f87-11cf-4b9c-9750-9e0dda2af09fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f87a222b-3b60-4bcf-b980-375072688ed0n@googlegroups.com>
Subject: Re: Check a socks5 proxy with netcat.
From: jalenq81@gmail.com (Jalen Q)
Injection-Date: Wed, 12 Apr 2023 17:08:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jalen Q - Wed, 12 Apr 2023 17:08 UTC

On Sunday, March 5, 2023 at 6:50:12 PM UTC-6, Jalen Q wrote:
> On Saturday, March 4, 2023 at 7:29:42 AM UTC-6, hongy...@gmail.com wrote:
> > Based on the comments here [1-2], I tried to test the availability of my socks5 proxy, but failed to get the information I needed:
> >
> > werner@X10DAi:~$ echo 050100 | xxd -p -r | netcat 127.0.0.1 18888
> > ^C
> > werner@X10DAi:~$ printf "\x05\x01\x00\r\n" | nc 127.0.0.1 18888 | hd
> > ^C
> >
> > But curl will return useful information as follows:
> >
> > werner@X10DAi:~$ curl -Ivx socks5h://127.0.0.1:18888 www.baidu.com
> > * Trying 127.0.0.1:18888...
> > * SOCKS5 connect to www.baidu.com:80 (remotely resolved)
> > * SOCKS5 request granted.
> > * Connected to (nil) (127.0.0.1) port 18888 (#0)
> > > HEAD / HTTP/1.1
> > > Host: www.baidu.com
> > > User-Agent: curl/7.85.0
> > > Accept: */*
> > >
> > * Mark bundle as not supporting multiuse
> > < HTTP/1.1 200 OK
> > HTTP/1.1 200 OK
> > < Accept-Ranges: bytes
> > Accept-Ranges: bytes
> > < Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
> > Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
> > < Connection: keep-alive
> > Connection: keep-alive
> > < Content-Length: 277
> > Content-Length: 277
> > < Content-Type: text/html
> > Content-Type: text/html
> > < Date: Sat, 04 Mar 2023 13:24:38 GMT
> > Date: Sat, 04 Mar 2023 13:24:38 GMT
> > < Etag: "575e1f6f-115"
> > Etag: "575e1f6f-115"
> > < Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
> > Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
> > < Pragma: no-cache
> > Pragma: no-cache
> > < Server: bfe/1.0.8.18
> > Server: bfe/1.0.8.18
> >
> > <
> > * Connection #0 to host (nil) left intact
> >
> > Any tips/comments/explanations for this problem will be appreciated.
> >
> > [1] https://superuser.com/questions/303251/how-to-check-if-a-socks5-proxy-works
> > [2] https://stackoverflow.com/questions/52530515/how-use-netcat-to-test-socks5-server
> >
> > Regards,
> > Zhao
> rrcrrrrfrffrrfrrrrrrfrfrftrd
fffffrfrfrgfyrftttrtrrttttfttrrtrtrtrrtrtrtrtttrtrttftttt

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor