Network Working Group M. Leech
Request for Comments: 1929 Bell-Northern Research Ltd
Category: Standards Track March 1996
Username/Password Authentication for SOCKS V5
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
1. Introduction
The protocol specification for SOCKS Version 5 specifies a
generalized framework for the use of arbitrary authentication
protocols in the initial socks connection setup. This document
describes one of those protocols, as it fits into the SOCKS Version 5
authentication "subnegotiation".
Note:
Unless otherwise noted, the decimal numbers appearing in packet-
format diagrams represent the length of the corresponding field, in
octets. Where a given octet must take on a specific value, the
syntax X'hh' is used to denote the value of the single octet in that
field. When the word 'Variable' is used, it indicates that the
corresponding field has a variable length defined either by an
associated (one or two octet) length field, or by a data type field.
2. Initial negotiation
Once the SOCKS V5 server has started, and the client has selected the
Username/Password Authentication protocol, the Username/Password
subnegotiation begins. This begins with the client producing a
Username/Password request:
+----+------+----------+------+----------+
|VER | ULEN | UNAME | PLEN | PASSWD |
+----+------+----------+------+----------+
| 1 | 1 | 1 to 255 | 1 | 1 to 255 |
+----+------+----------+------+----------+
Leech Standards Track [Page 1]
RFC 1929 Username Authentication for SOCKS V5 March 1996
The VER field contains the current version of the subnegotiation,
which is X'01'. The ULEN field contains the length of the UNAME field
that follows. The UNAME field contains the username as known to the
source operating system. The PLEN field contains the length of the
PASSWD field that follows. The PASSWD field contains the password
association with the given UNAME.
The server verifies the supplied UNAME and PASSWD, and sends the
following response:
+----+--------+
|VER | STATUS |
+----+--------+
| 1 | 1 |
+----+--------+
A STATUS field of X'00' indicates success. If the server returns a
`failure' (STATUS value other than X'00') status, it MUST close the
connection.
3. Security Considerations
This document describes a subnegotiation that provides authentication
services to the SOCKS protocol. Since the request carries the
password in cleartext, this subnegotiation is not recommended for
environments where "sniffing" is possible and practical.
4. Author's Address
Marcus Leech
Bell-Northern Research Ltd
P.O. Box 3511, Station C
Ottawa, ON
CANADA K1Y 4H7
Phone: +1 613 763 9145
EMail: mleech@bnr.ca
Leech Standards Track [Page 2]
相关推荐
ElasticSearch快速入门三(curl命令讲解)
curl www.baidu.com 和 curl -X GET www.baidu.com是一样的默认就是GET。下面我们就详细说下CURL这个命令的使用,这个curl命令在linux下是自带的,登陆一个linux的操作系统。curl --trace output.txt www.baidu.com (把信息输入到文本中)报了一个未知错误百度了一下这个问题,都说是DNS的问题,因此修改一下DNS配置,就可以了,网上了解到的可能是电信DNS有调整的缘故,但是具体的原因还是不得而知。
调试socks5服务器
调试socks5服务器最近有不少网友老是问我一些QQ如何利用代理的事。其实是很简单的,通过代理猎手寻找一些socks5代理便可。刚好最近在学习linux系统,于是突然想到用RH9来做个socks5代理服务器。ok!说干就干1。先在北大天网搜索一下socks5的安装包,发现一大堆,最新版本是socks5-v1.0r11.tar.gz,于是下载到我的RH9的服务器上。2。解压缩软件包#
docker一键部署笔记
默认 登录用户名: postgres如果遇到 FATAL: password authentication failed for user "XXX"有可能防火墙的问题,禁止外部访问解决方法: 在 data 的 pg_hba.conf 中的 ipv4 添加以下一行。
Username/Password Authentication for SOCKS V5[RFC 1929]
Username/Password Authentication for SOCKS V5INTERNET-DRAFTExpires: In Six Months M. Leech Username/Password Authentication fo
OppoA83 F5 DA & Auth.rar
OPPOA83刷机代理认证文件。改zip解压。这是oppo A83线刷包代理及auth认证文件。sp flash tool刷机时da代理选F5/DA_PL_CRYPTO.bin,auth认证文件选F5/auth_sv5_oppo.auth。刷机选固件升级,根据自己需要选择刷机包内容。
tp5auth权限管理TP5版本.rar
基于开发框架ThinkPHP5写的权限控制网站demo。规则表(think_auth_rule) 用户组表(think_auth_group) 用户组明显表(think_auth_group_access) 我们在规则表中定义权限规则, 在用户组表中定义每个用户组有哪些权限规则,在用户组明显表中定义用户所属的用户组。
android thinkphp auth认证,thinkphp5_auth 权限认证(示例代码)
1.Auth类文件引入2.写一个公共类AuthInfo,所有要权限认证的类都继承此公共类AuthInfoclass AuthInfo extends Controller{protected function _initialize(){if(!session("?intel_uid")){echo "alert(\'没有登陆!\');window.location.href = \'".url(...
嵌入式系统启动流程解析:ROM Code、Bootloader与启动代码的协同工作
本文深入解析嵌入式系统从通电到运行的完整启动流程,详细阐述了ROM Code、Bootloader与启动代码三者如何像接力赛般协同工作。ROM Code作为芯片固化的初始引导程序,负责硬件自检并加载Bootloader;Bootloader作为系统总指挥,初始化关键硬件并加载操作系统内核;启动代码则为C语言运行环境铺平道路。理解这三者的分工与协作,是进行系统移植和解决启动问题的关键。
RFC1929-Username/Password Authentication for SOCKS V5
rfc1929 Status of this Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the cu...
百度智能云ASR实战:5分钟搞定Unity语音转文字(含完整代码)
本文详细介绍了如何在Unity中集成百度智能云ASR服务,实现高效的语音转文字功能。从环境配置、音频处理到服务端通信,提供完整代码示例和实战优化技巧,帮助开发者快速实现语音交互功能,适用于游戏开发、XR应用等场景。
美亚杯取证比赛必备:Veracrypt挂载+检材解压保姆级教程(附常见错误排查)
本文提供美亚杯数字取证竞赛的Veracrypt挂载与检材解压保姆级教程。详细解析从分卷压缩包解压(密码格式为MeiyaCup+年份)到使用Veracrypt正确挂载加密容器的全流程,并附有常见错误排查与高级应急方案,帮助选手高效突破技术门槛,顺利进入取证分析阶段。
【内网攻防实战】红日靶场01(超超超超超超详细!!实操+AI问答,草履虫教程,之前csnd私自设成vip可见本人完全不知道,欢迎探讨)
问题:解决:日志功能未开启,OFF,执行sql开启ON。
避开内存陷阱:手把手教你用RKNN零拷贝接口正确管理输入输出Tensor
本文深入解析RKNN零拷贝接口在边缘计算中的高效内存管理策略,通过YOLOX实例演示如何避免内存对齐错误和数据错位。详细介绍了`rknn_tensor_mem`系列API的正确使用方法,包括内存创建、绑定、释放全流程,以及性能优化技巧如内存池技术和多核NPU负载均衡,帮助开发者提升推理效率并避开常见陷阱。
渗透测试 ( 3 ) --- Metasploit Framework (MSF)
Metasploit专业版和精简版的主要差别在于专业版上面集成了全自动攻击模块,通过远程API集成网络分割测试模块、标准基线审计向导模块、闭环漏洞验证优先处理功能、动态载荷规避防病毒解决方案、钓鱼意识管理和鱼叉式网络钓鱼模块、对OWASP Top 10漏洞的Web应用程序测试模块、高级命令行和Web界面的选择模块。但是,专业版是必须要付费的,所以除非用到非个人的功能,否则没有必要去使用专业版,而且,专业版和精简版的渗透攻击模块是一样的。.........
(二)使用VS2022克隆下载C++自制植物大战僵尸游戏教程
本文将介绍如何使用VS2022克隆下载《植物大战僵尸C++自制版本》。Gitee项目地址:Gitee仓库地址Github项目地址:Github仓库地址游戏官网地址(下载可直接运行)游戏官网。
App 抓包难?Frida Hook 实战:绕过 SSL Pinning (证书绑定) 抓取某大厂 App 核心接口
当我们使用 Charles 抓包 HTTPS 时,本质上是实施了MITM(中间人攻击)。Charles 伪装成服务器,发给 App 一个自己的证书(伪造证书)。Charles 伪装成 App,拿着真正的证书去请求服务器。如果 App 只是简单校验“证书是否由受信任的 CA 签发”,那你把 Charles 的根证书安装到手机系统里,就能骗过它。但是,是 App 内置了服务器证书的Hash(指纹)。
爬虫教程( 4 ) --- scrapy-redis、集群、curl-cffi、scrapy-stealth、aio-scrapy、omnicrawl-core、反检测(反爬)浏览器
分布式爬虫 scrapy-redis、集群
052、联发科Imagiq HyperEngine架构适配:天玑9000/9200的ISP多核并行调度与Tuning Toolkit调优案例
摘要: 项目组在适配联发科天玑9200的Imagiq 890 ISP架构时,遇到多摄预览功耗过高、帧率不稳等问题。通过分析多核调度机制,调整辅核QoS通道、优化AI-ISP协同模式(采用FREERUN+运动补偿),并利用Tuning Toolkit的Pipeline Viewer动态分配负载,最终降低功耗30mA、提升画质。关键经验包括:避免多核带宽冲突、合理配置动态时钟策略,以及统一校准参数版本管理。天玑9000/9200的HyperEngine架构需优先理解多核协同逻辑,再针对性调优,否则易引发场景兼容
python urllib socks5 auth username password 设置
在使用一批socks5带用户名和密码的代理的时候需要用到urllib这个python库 # https://pypi.org/project/PySocks/ import urllib import socks import socket # from urllib import request from urllib.error import URLError username = "username" password = "password" ip = "107.*.*.122" port = .
17|CI/CD 集成与质量门禁:让精准测试进入发布流水线
本文讲解精准测试如何接入 CI/CD 流水线,并通过质量门禁辅助发布决策。测试开发工程师。Java 后端开发工程师。质量平台 / DevOps 平台建设者。想了解精准测试落地方法的技术负责人。
文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况
主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。
一看读懂反向代理,看了都说好!
点击上方 "程序员小乐"关注,星标或置顶一起成长每天凌晨00点00分,第一时间与你相约每日英文Say to yourself: Regardless of what ...
jdk-8u144-linux-x64.tar.gz.
该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包
chrome chrouim SOCKS5 命令行设置
chrome chrouim 浏览器 都行 chrome chrouim --proxy-server="SOCKS5://127.0.0.1:1234"
霍尼韦尔SoftMaster使用说明
霍尼韦尔SoftMaster使用说明
win10 跳过U8环境检测的IE WebControls.rar
win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。
Chrome浏览器如何使用socket5代理?
Chrome浏览器如何使用socket5代理? 转载:http://helpserver.chiwudaili.com/detail.aspx?id=60222b96a3240a1376eef8a70c74cd75 Chrome浏览器 安装 SwitchyOmega 插件后,支持socket5 的代理。 1、下载"Chrome"浏览器并安装完毕。百度搜索就能找到。http://res.chi...
Python + Selenium + Chrome 使用代理 auth 的用户名密码授权
米扑代理,全球领导的代理品牌,专注代理行业近十年,提供开放、私密、独享代理,并可免费试用 米扑代理官网:https://proxy.mimvp.com 本文示例,是结合米扑代理的私密、独享、开放代理,专门研发的示例, 支持 http、https的无密码、白名单ip、密码授权三种类型 示例中,用的插件 xpi 请到米扑代理官网,或米扑官方 github 下载 本文,直接给出完整...
记一次socks5部署时的坑
1、第一步我们来安装服务需要的一些依赖服务: [root@Sh_Test ~]# yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel openssl-devel 2、在 SS5 官网下载SS5最新版本的源代码 SS5官网地址:http://ss5.sourceforge.net/ 这...
2808



被折叠的 条评论
为什么被折叠?



