mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Test SOCKS proxy authentication
This commit is contained in:
parent
1ece4ffa42
commit
ccb747106e
@ -62,6 +62,18 @@ test_naive 'Trivial - listen no host' socks5h://127.0.0.1:60301 \
|
|||||||
test_naive 'Trivial - listen no port' socks5h://127.0.0.1:1080 \
|
test_naive 'Trivial - listen no port' socks5h://127.0.0.1:1080 \
|
||||||
'--log --listen=socks://127.0.0.1'
|
'--log --listen=socks://127.0.0.1'
|
||||||
|
|
||||||
|
test_naive 'Trivial - auth' socks5h://user:pass@127.0.0.1:1080 \
|
||||||
|
'--log --listen=socks://user:pass@127.0.0.1'
|
||||||
|
|
||||||
|
test_naive 'Trivial - auth with special chars' socks5h://user:^@127.0.0.1:1080 \
|
||||||
|
'--log --listen=socks://user:^@127.0.0.1'
|
||||||
|
|
||||||
|
test_naive 'Trivial - auth with special chars' socks5h://^:^@127.0.0.1:1080 \
|
||||||
|
'--log --listen=socks://^:^@127.0.0.1'
|
||||||
|
|
||||||
|
test_naive 'Trivial - auth with empty pass' socks5h://user:@127.0.0.1:1080 \
|
||||||
|
'--log --listen=socks://user:@127.0.0.1'
|
||||||
|
|
||||||
test_naive 'SOCKS-SOCKS' socks5h://127.0.0.1:60401 \
|
test_naive 'SOCKS-SOCKS' socks5h://127.0.0.1:60401 \
|
||||||
'--log --listen=socks://:60401 --proxy=socks://127.0.0.1:60402' \
|
'--log --listen=socks://:60401 --proxy=socks://127.0.0.1:60402' \
|
||||||
'--log --listen=socks://:60402'
|
'--log --listen=socks://:60402'
|
||||||
|
Loading…
Reference in New Issue
Block a user