`
androider
  • 浏览: 752016 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Ubuntu突破ISA Server

阅读更多
Sudo apt-get  update不能运行:

使用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 "
分享到:
评论

相关推荐

    ubuntu1204serverguide

    **Ubuntu Server Guide** 是一个全面且详尽的手册,旨在为用户提供如何在其 Ubuntu 系统上安装和配置各种服务器应用的指导。这份文档是面向任务的,通过一系列步骤帮助用户根据自己的需求定制系统。 #### 二、支持 ...

    Ubuntu离线安装openssh-server安装包

    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 最佳方案

    Ubuntu server 讲述服务器的配置

    Ubuntu20.04离线安装openssh-server.rar

    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安装图解** Ubuntu Server 12.04,代号"precise pangolin",是Ubuntu发行版的一个长期支持(LTS)版本,为服务器环境提供了稳定、安全且高效的操作系统。这个版本的生命周期长达五年,确保了...

    Ubuntu PPPOE Server环境搭建说明.pdf

    Ubuntu PPPOE 服务器环境搭建详解 Ubuntu PPPOE 服务器环境搭建是指在 Ubuntu 操作系统中搭建一个 PPPOE 服务器,以便于提供高速的上网服务。下面将详细介绍 Ubuntu PPPOE 服务器环境搭建的步骤。 一、安装 PPPOE ...

    Ubuntu 18.04 Desktop and Server 百度云链接

    Ubuntu 18.04 Server and Desktop 百度云链接,包含ubuntu-18.04-desktop-amd64.iso和ubuntu-18.04-live-server-amd64.iso

    ubuntu-16.04.6-server-amd64.iso下载

    Ubuntu16.04镜像文件server版下载

    ubuntu离线安装包ssh-server.zip

    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_...

    戴尔服务器ubuntu18.04server无桌面服务器版系统安装教程.docx

    本文将详细讲解如何在戴尔服务器上安装Ubuntu 18.04 Server无桌面版本,这是一个专为服务器环境设计的操作系统,不包含图形用户界面,更加轻量化和高效。 首先,我们需要了解戴尔服务器的基本启动流程。当服务器...

    VMware虚拟机Ubuntu Server版本

    在本教程中,我们将探讨如何在Windows系统上使用VMware Workstation 16 Pro安装Ubuntu Server 16.04.7版本。首先,确保你的系统满足安装VMware和Ubuntu Server的基本需求,包括足够的硬盘空间(至少20GB)以及一个非...

    Ubuntu+Server最佳方案[高清完整PDF版].

    《Ubuntu Server最佳方案》这本书是针对那些希望深入了解和部署Ubuntu Server操作系统的读者而编写的。Ubuntu Server是一款基于Debian的开源服务器操作系统,以其稳定、安全和高效的特点深受全球IT专业人士的青睐。...

    Ubuntu_Server搭建FTP服务器

    Ubuntu_Server搭建FTP服务器,

    Mastering Ubuntu Server(PACKT,2016)

    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环境下中文乱码之显示方块.docx

    Ubuntu Server 环境下中文乱码之显示方块解决方案 在 Ubuntu Server 环境下,中文乱码的问题是一个常见的问题,特别是在桌面环境和浏览器中。在这个文件中,我们将讨论 Ubuntu Server 环境下中文乱码之显示方块的...

    ubuntu-16.04.3-server-amd64.rar

    【标题】"ubuntu-16.04.3-server-amd64.rar"指的是Ubuntu 16.04.3 LTS (Xenial Xerus)的服务器版本的ISO镜像文件,该文件已经通过RAR格式进行了压缩。Ubuntu是全球广受欢迎的开源操作系统,尤其在服务器领域有很高的...

    openssh-server -Ubuntu18.04远程服务离线安装包

    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 配置记录.doc

    ubuntu 12.04 svn server 配置, 个人配置记录分享

    [Ubuntu.Linux.基础视频教程].2.7.安装.Ubuntu.Server.Edition

    【Ubuntu Linux 基础视频教程 - 2.7 安装 Ubuntu Server Edition】是一部针对初学者的详尽教程,旨在引导用户顺利完成 Ubuntu Server 的安装过程。Ubuntu Server 是一款广泛应用于企业级服务器环境的开源操作系统,...

    ubuntu104_serverguide

    ubuntu 10.04 server guide

Global site tag (gtag.js) - Google Analytics