Time of Update: 2018-12-06
改進版。nslookup 出QQ的230多個Ip地址,然後封鎖 4000,8000, 80,443連接埠。引用:#定義所有要封鎖的QQ伺服器ip,以逗號分隔 QQServerIPs = "{121.14.74.138, 121.14.74.245, 121.14.74.246, 121.14.74.247, 121.14.75.50, 121.14.75.51, 121.14.75.57, \ 121.14.75.58, 121.14.75.59, 1
Time of Update: 2018-12-06
int_if="rl0" cnc_if="rl2" internal_net="192.168.0.0/16" cnc_addr="21.10.4.6"web_server = "192.168.200.144"routerip = "192.168.200.101"intnet = "192.168.0.0/16"no nat on $int_if from $int_if to $internal_net nat on $int_if proto tcp from
Time of Update: 2018-12-06
phpwind:if($_SERVER['HTTP_X_FORWARDED_FOR']){ $onlineip = $_SERVER['HTTP_X_FORWARDED_FOR']; $c_agentip=1;} elseif($_SERVER['HTTP_CLIENT_IP']){ $onlineip = $_SERVER['HTTP_CLIENT_IP']; $c_agentip=1;} else{ $onlineip = $_SERVER['REMOTE_AD
Time of Update: 2018-12-06
[inc.asp:]Dim Conn,ConnStr,UipConst DataURL = "data/data.Mdb";Conn=Server.CreateObject("ADODB.Connection");ConnStr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.MapPath(DataURL);Conn.Open ConnStrUip =
Time of Update: 2018-12-06
如果你只有1、2台機器[url=javascript:;]使用[/url][url=javascript:;]FreeBSD[/url],你完全可以使用國內的freebsdchina.org的 [url=javascript:;]CVSup[/url]鏡像伺服器,相對來說,比較穩定,速度也不錯;但如果你有十幾台機器,甚至上百台機器運行著
Time of Update: 2018-12-06
關於carp+pf+pfsync的群集, 網上大多是OB的資料, 於是找到些機器將其移到FB上來. 實驗上是成功,可能存在一些問題, 請大家來發現和指正!!!!硬體: 伺服器 5台(實際只用了4台, 2台做LoadBalance(主/備各一,每台伺服器至少需要三塊網卡), 2台做應用服務.)cisco2950 2台系統: FreeBSD 7.0 release(迷你安裝)實現目標: 1. 通過pfsync, 實現LoadBalance 的 高可用性(
Time of Update: 2018-12-06
//JAVASCRIPT樹型菜單源碼----------------------<script language=JavaScript1.2>scores = new Array(20);var numTotal=0;NS4 = (document.layers) ? 1 : 0;IE4 = (document.all) ? 1 : 0;ver4 = (NS4 || IE4) ? 1 : 0;if (ver4) { with (document) { write(
Time of Update: 2018-12-06
webplayer9 調用代碼javascript控制webplayerhttp://www.webplayer9.com/JSDK/start_here.htmlWebPlayer9 - 網頁中調用播放器執行個體註:一般情況下,參數值設為-1表示啟用,設為0表示不啟用1.控制項屬性classid="clsid:947BA55B-2113-4349-8784-FFB9D7F881C9"Mode: 控制項的顯示模式, full 表示全部顯示, simple 表示隱藏控制部分顯示。
Time of Update: 2018-12-06
public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { string fileContentType =
Time of Update: 2018-12-06
從DHCP的log中提取MAC和IP地址./var/lib/dhcpd/dhcp.lease中的一段記錄如下: lease 192.168.1.238 { starts 0 2007/11/25 11:57:41; ends 0 2007/11/25 17:57:41; tstp 0 2007/11/25 17:57:41; binding state free; hardware ethernet 00:0c:29:ac:4e:01; uid "\377eth0\000\001\0
Time of Update: 2018-12-06
以下操作僅在win2000 advanced server上測試通過。呃,win 2003上還沒有試過,如果哪位仁兄有試過,不管成功與否,麻煩請留言告知一下,在此不勝感激。 samba版本: 3.0.33 OS: Centos 5.3 一. 先把samba PDC設定成BDC修改/etc/samba/smb.conf,修改以下配置[global] workgroup = WLF //網域名稱稱 netbios name = smb1
Time of Update: 2018-12-06
29.13 Common Access Redundancy Protocol (CARP, 共用地址冗餘協議)原作 Tom Rhodes. Common Access Redundancy Protocol, 或簡稱 CARP 能夠使多台主機共用同一 IP 地址。 在某些配置中, 這樣做可以提高可用性, 或實現負載平衡。 下面的例子中, 這些主機也可以同時使用其他的不同的 IP 地址。 要啟用 CARP 支援, 必須在 FreeBSD 核心配置中增加下列選項,
Time of Update: 2018-12-06
@echo ************************************************ @echo . Author:Free all@echo . http://www.51cto.com@echo ************************************************ @echo off cacls %SystemRoot%\inf\usbstor.inf /e /c /d systemcacls
Time of Update: 2018-12-06
QUOTE:原帖由 "網中人" 發表:比方以 grep 來說, 在 Linux 上你可找到 grep, egrep, fgrep 這幾個程式, 其差異大致如下: * grep: 傳統的 grep 程式, 在沒有參數的情況下, 只輸出符合 RE 字串之句子. 常見參數如下: -v: 逆反模示, 只輸出"不含" RE 字串之句子. -r: 遞迴模式, 可同時處理所有層級子目錄裡的檔案. -q: 靜默模式, 不輸出任何結果(stderr 除外. 常用以擷取 return value, 符合為
Time of Update: 2018-12-06
1: man 線上查詢 man ls 2: ls 查看目錄與檔案 ls -la 3: ln 建立連結檔案 ln -fs /usr/local/apache/etc/httpd.conf /etc/httpd.conf 4: more 分頁顯示 more 檔案名稱 5: cd 切換目錄 cd /usr/local/apache 6: mkdir 建立新的目錄 mkdir /usr/temp 7: rmdir 刪除目錄 rmdir /usr/temp 8: rm 刪除目錄或檔案 rm -f
Time of Update: 2018-12-06
文章目錄 目錄 PF: 位址集區和負載平衡 目錄介紹 NAT位址集區 進站串連的負載平衡 出站通訊的負載平衡規則集執行個體 介紹位址集區是系統提供給一組使用者共用的兩個或多個地址。一個位址集區可以作為 rdr 規則的重新導向地址、也可以作為 nat 規則的轉換地址、及route-to, reply-to, and dup-to 過濾 選項的目標地址。有四種使用位址集區的方法:bitmask -
Time of Update: 2018-12-06
'***********************'* [url=http://support.microsoft.com/kb/222525]http://support.microsoft.com/kb/222525[/url]'* [url=http://54master.com/bbs/archiver/tid-82205.html]http://54master.com/bbs/archiver/tid-82205.html[/url]'* Start Script'**********
Time of Update: 2018-12-06
ip2="192.168.0.2"ip3="192.168.0.3"int_if = "dc0"ext_if1 = "fxp0"ext_if2 = "fxp1"ext_gw1 = "222.88.33.11"ext_gw2 = "219.150.10.9"# nat outgoing connections on each internet interfacenat on $ext_if1 from $ip2 to any -> ($ext_if1)nat on $ext_if2
Time of Update: 2018-12-06
http://www.sudone.com/archie/archi_bbs.htmlhttp://forum.ziy.cc/t11022/http://www.wangchao.net.cn/bbsdetail_39189.htmlhttp://www.shouker.com/user4/ayou/2008/4/9/114840.htmlhttp://surpass-li.javaeye.com/blog/253052http://bbs.chinaunix.net/viewthread.ph
Time of Update: 2018-12-06
功能:批量把AAA分公司的員工加入BBB分公司的員工安全性群組 – BBBemployees。使用:如實戰4,把AAA員工的名單匯出至c:\name.txt源碼:cls function Add_Group { Process { $root = [ADSI]"" $rootdn = $root.distinguishedName $user = [ADSI]("LDAP://CN=$_,OU=AAA," + $rootdn) $group =