- 浏览: 752016 次
- 性别:
- 来自: 苏州
文章分类
最新评论
-
hsl313:
源码还有得下载吗?
利用AMF数据封装与Flash 进行Socket通讯 -
zhang5476499:
已看,谢谢讲解。
Mock单元测试 -
Buydeful:
...
关于JSP或HTML的命名规范 -
lliiqiang:
单一登陆最好采用踢掉方法,如果忘记退出,可以从别的地方控制方式 ...
Jquery选择器大全 -
lliiqiang:
web代码由后台动态生成,这种动态方式多种多样,多提供几种标准 ...
Jquery选择器大全
Sudo apt-get update不能运行:
使用ntlmaps,解压缩,安装,设置server.cfg,全文如下:
执行ntlmaps:
./main.py &
设置网关:
export http_proxy="http://127.0.0.1:5865 "
使用ntlmaps,解压缩,安装,设置server.cfg,全文如下:
#======================================================================== [GENERAL] LISTEN_PORT:5866 # If you want APS to authenticate you at WWW servers using NTLM then just leave this # value blank like PARENT_PROXY: and APS will connect to web servers directly. # You can specify more than one proxy by leaving a space between each one, and # APS will detect when one fails and automatically fail-over to the next. EG: #PARENT_PROXY:first_proxy second_proxy third_proxy # And NOTE that NTLM cannot pass through another proxy server. PARENT_PROXY:172.29.131.10 PARENT_PROXY_PORT:8080 # APS will poll the upstream proxy and attempt to fail-over to a new one if it doesn't # get a response within an appropriate time frame. The amount of time that it will # wait for a response before attempting fail-over is specified, in seconds, below: PARENT_PROXY_TIMEOUT:15 # Set to 1 if you want to grant this authorization service to clients from other computers. # NOTE: all the users from other hosts that will be using you copy of APS for authentication # will be using your credentials in NTLM auth at the remote host. ALLOW_EXTERNAL_CLIENTS:0 # If you want to allow some other but not all computers to use your proxy for authorization, # just set ALLOW_EXTERNAL_CLIENTS:0 and put friendly IP addresses here. # Use space as a delimiter. # NOTE that special addesses don't work here (192.168.3.0 for example). FRIENDLY_IPS: # Requested URLs are written to "url.log" file. May be useful. URL_LOG:0 # When a network service listens for connections, there is a maximum number of connection # attempts to that service that the underlying OS will allow to backlog waiting for a response # before the OS will start dropping new connection attempts with 'Connection refused'. The # standard method of determining the maximum number of backlogged connections is to use the # SOMAXCONN constant, which is supposed to represent the maximum number that an OS will support # (for example, 5 on Windows 2000 Pro, and 200 on Windows 2000 server). However, because this # is a statically compiled value in a Python distribution, usually this instead represents the # the most conservative value (5 on all Windows platforms, and 128 on the GNU/Linux variant I # tried). So if you are running (for example) a massively threaded/parallel download manager, # the default value of, say, 5, or whatever SOMAXCONN happens to be set to, may be too low and # cause some connections to fail. The value below can be set to any integer (it seems that # Python just silently caps values above the hard limit for the underlying platform), or it can # be set to the special value of SOMAXCONN (i.e. MAX_CONNECTION_BACKLOG:SOMAXCONN), to use # whatever this value happens to be set to in your Python build. Setting this higher than # necessary may cause APS to consume more memory than you needed to. MAX_CONNECTION_BACKLOG:5 #======================================================================== [CLIENT_HEADER] # This section describes what and how the server should change in the clients headers. # Made in order to prevent parent proxy from seeing that you are using wget instead of IE5.5 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */* User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) # for windows 2000 emulation ;) # User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT5) # You can uncomment these chages in client's header to mimic IE5+ better, but in this case # you may expirience problems with *.html if your client does not really handle compression. #Accept-Encoding: gzip, deflate #======================================================================== [NTLM_AUTH] # Optional value, if leaved blank then APS will use gethostname() to determine # host's name. # NOTE1: If you Linux host name differs from Windows host name then it may be that # MS server wont recognize you host at all and wont grant you access # to resources requested. Then you have to use this option and APS will use # this name in NTLM negotiations. # NOTE2: There are several reports that you can successfully use "foreign" host name # here. Say, if user may access a resource from 'host1' and may not from 'host2' # then there is a chance that APS running on 'host2' with NT_HOSTNAME:host1 will # be able to be granted access to the restricted resource. However use this on # you own risk as such a trick may be considered as a hack or something. NT_HOSTNAME:172.29.128.251 # Windows Domain. # NOTE: it is not full qualified internet domain, but windows network domain. NT_DOMAIN:SZFS # What user's name to use during authorization. It may differ form real current username. # If you enable NTLM_TO_BASIC, below, you can either leave this blank or simply # hash it out. USER:xiao_xiyang # Password. Just leave it blank here and server will request it at the start time, # or, if you enable NTLM_TO_BASIC, below, you can either leave this blank or simply # hash it out, and you *won't* be prompted for a password at start time. PASSWORD:founder.com # These two options replace old FULL_NTLM option. # NTLM authentication consists virtually of two parts: LM and NT. Windows95/98 use # only LM part, WindowsNT/2000 can use NT and LM or just NT part. # Almost always using just LM part will be enough. I had several reports # about LM and NT requirement and no about just NT. # So try to setup 1, 1 only if you have enough reasons to do so and when you understand # what you are doing. # 0, 0 is an illegal combination # NOTE: if you change these options then you have to setup flag option accordingly. LM_PART:1 NT_PART:0 # Highly experimental option. See research.txt for details. # LM - 06820000 # NT - 05820000 # LM + NT - 07820000 NTLM_FLAGS: 06820000 # This option makes APS try to translate NTLM authentication to very usual "Basic" # scheme. Almost all http clients know it. With this option set to 1 user will be requested # by his browser to enter his credentials and these username and password will be used by # APS for NTLM authentication at MS Proxy server or Web server. # In such a case different users can use one runnig APS with their own credentials. # NOTE1: currently translation works so it allows only one try for entering # username/password. If you make a mistake you will have to restart you browser. # NOTE2: With debug:1 basic username/password will be written in log file in clear # text format. I could try hide it, but the basic scheme is so weak that anybody # who had access to APS would be able to get it. NTLM_TO_BASIC:0 #======================================================================== [DEBUG] # Set this to 1 if you want to see debug info in many log files. One per connection. DEBUG:0 # Set this to 1 to get even more debug info. BIN_DEBUG:0 # Set this to 1 to see some strange activity on screen. Actually you won't want it. SCR_DEBUG:0 # Not actually a debug option but gives you some details on authentication process # into *.auth logs. Also see research.txt. AUTH_DEBUG:0
执行ntlmaps:
./main.py &
设置网关:
export http_proxy="http://127.0.0.1:5865 "
发表评论
-
解决is not in the sudoers file问题
2011-06-09 20:49 2079解决xxx is not in the sudoers fil ... -
安装64位air
2011-06-01 20:03 1339Download the Adobe AIR .deb ... -
转:Ubuntu安装Oracle客户端
2010-11-26 10:10 9493http://329937021.iteye.com/blog ... -
Ubuntu代理设置
2010-10-18 08:13 1168http://www.blogjava.net/sealyu/ ... -
Ubuntu配置文件
2010-09-15 17:13 1499全局配置文件 ------------ 系统初始化 /e ... -
Unable to see mouse pointer in 10.10
2010-09-14 21:53 1063the solution is to confirm that ... -
Ubuntu Server Install MySQL
2010-05-01 16:09 1082sudo apt-get install mysql- ... -
Ubuntu 下Chromium安装Flash插件
2010-05-01 13:58 1707sudo apt-get install fl ... -
root用户加载环境变量
2010-04-25 20:16 1984在/etc/profile中配置的环境变量,在root用户中无 ... -
Linux版本介绍
2009-10-25 10:37 1901Red Hat是全球最大的开源技术厂家,其产品Red Hat ... -
修改mysql数据库存储位置
2009-10-13 00:47 30221、关掉数据库 sudo /etc/init.d/mysql ... -
Ubuntu PDF阅读
2009-10-12 20:02 25371、安装xpdf: sudo apt-get install ... -
Linux 用户和组相关命令
2009-09-22 10:46 15061、建用户: adduser phpq ... -
Ubuntu 进程常用命令
2009-09-16 16:39 4217强制杀死进程的命令: kill -9 进程号 ... -
Tomcat在ubuntu server 启动报错
2009-09-16 16:29 1758Ubuntu Server上的tomcat启动老是报错: ... -
Lighttpd install for ubuntu
2009-04-14 15:02 1975error while loading shared libr ... -
Linux关机命令
2009-04-03 09:35 1240在linux下一些常用的关 ... -
vi指令大全
2009-04-01 10:32 1001http://kb.discuz.net/index.php? ... -
Ubuntu server 安装图形桌面
2009-03-31 10:06 7152Ubuntu server安装图形界面 升级并安装x win ... -
Ubuntu server 网络配置
2009-03-30 16:32 4167检查网络配置 $ ifconfig 配置DHCP客户端 $ ...
相关推荐
**Ubuntu Server Guide** 是一个全面且详尽的手册,旨在为用户提供如何在其 Ubuntu 系统上安装和配置各种服务器应用的指导。这份文档是面向任务的,通过一系列步骤帮助用户根据自己的需求定制系统。 #### 二、支持 ...
Ubuntu20.04和Ubuntu16.04等其他Ubuntu离线安装openssh-server 安装步骤: sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb sudo dpkg -i openssh-client_8.4p1-6ubuntu1_amd64.deb sudo dpkg -i openssh-...
Ubuntu server 讲述服务器的配置
Ubuntu20.04离线安装openssh-server 安装步骤: sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb sudo dpkg -i openssh-client_8.4p1-6ubuntu1_amd64.deb sudo dpkg -i openssh-sftp-server_8.4p1-6ubuntu1...
**Ubuntu Server 12.04安装图解** Ubuntu Server 12.04,代号"precise pangolin",是Ubuntu发行版的一个长期支持(LTS)版本,为服务器环境提供了稳定、安全且高效的操作系统。这个版本的生命周期长达五年,确保了...
Ubuntu PPPOE 服务器环境搭建详解 Ubuntu PPPOE 服务器环境搭建是指在 Ubuntu 操作系统中搭建一个 PPPOE 服务器,以便于提供高速的上网服务。下面将详细介绍 Ubuntu PPPOE 服务器环境搭建的步骤。 一、安装 PPPOE ...
Ubuntu 18.04 Server and Desktop 百度云链接,包含ubuntu-18.04-desktop-amd64.iso和ubuntu-18.04-live-server-amd64.iso
Ubuntu16.04镜像文件server版下载
Ubuntu20.04离线安装openssh-server 安装步骤: sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb sudo dpkg -i openssh-client_8.4p1-6ubuntu1_amd64.deb sudo dpkg -i openssh-sftp-server_8.4p1-6ubuntu1_...
本文将详细讲解如何在戴尔服务器上安装Ubuntu 18.04 Server无桌面版本,这是一个专为服务器环境设计的操作系统,不包含图形用户界面,更加轻量化和高效。 首先,我们需要了解戴尔服务器的基本启动流程。当服务器...
在本教程中,我们将探讨如何在Windows系统上使用VMware Workstation 16 Pro安装Ubuntu Server 16.04.7版本。首先,确保你的系统满足安装VMware和Ubuntu Server的基本需求,包括足够的硬盘空间(至少20GB)以及一个非...
《Ubuntu Server最佳方案》这本书是针对那些希望深入了解和部署Ubuntu Server操作系统的读者而编写的。Ubuntu Server是一款基于Debian的开源服务器操作系统,以其稳定、安全和高效的特点深受全球IT专业人士的青睐。...
Ubuntu_Server搭建FTP服务器,
The Ubuntu Server Edition, also called Ubuntu Server, offers support for several common configurations, and also simplifies common Linux server deployment processes. With this book as their guide, ...
Ubuntu Server 环境下中文乱码之显示方块解决方案 在 Ubuntu Server 环境下,中文乱码的问题是一个常见的问题,特别是在桌面环境和浏览器中。在这个文件中,我们将讨论 Ubuntu Server 环境下中文乱码之显示方块的...
【标题】"ubuntu-16.04.3-server-amd64.rar"指的是Ubuntu 16.04.3 LTS (Xenial Xerus)的服务器版本的ISO镜像文件,该文件已经通过RAR格式进行了压缩。Ubuntu是全球广受欢迎的开源操作系统,尤其在服务器领域有很高的...
sudo dpkg -i openssh-sftp-server_1%3a7.6p1-4ubuntu0.6_amd64.deb sudo dpkg -i openssh-server_1%3a7.6p1-4ubuntu0.6_amd64.deb sudo dpkg -i ssh-import-id_5.7-0ubuntu1.1_all.deb 修改 /etc/ssh/sshd_config...
ubuntu 12.04 svn server 配置, 个人配置记录分享
【Ubuntu Linux 基础视频教程 - 2.7 安装 Ubuntu Server Edition】是一部针对初学者的详尽教程,旨在引导用户顺利完成 Ubuntu Server 的安装过程。Ubuntu Server 是一款广泛应用于企业级服务器环境的开源操作系统,...
ubuntu 10.04 server guide