顯示廣告
隱藏 ✕
※ 本文為 ericcenter.bbs. 轉寄自 ptt.cc 更新時間: 2013-05-12 20:41:31
看板 Gossiping
作者 richliu (皮皮)
標題 砍站軟體 wget
時間 Sun May 12 20:31:21 2013



很早以前, 網際網路不盛行的時候,
那是一個手機無法隨時上網的年代,
很多人都會用砍站軟體將要看的網站 mirror 下來, 等待以後觀看

不過隨著 3G 時代的來臨, 大家都用不到這種功能了, 因為隨時可以上網

這邊還是介紹一下古老的砍站軟體 wget

Linux 的使用者應該預設就有了, Windows 的使用者可以到這邊抓

http://users.ugent.be/~bpuype/wget/

使用方式也很簡單, 像要抓聯合新聞網就可以下這個指令
wget -np -m http://udn.com/NEWS/mainpage.shtml

如果加個 -b 參數就可以放在背景執行, 對一次想砍多個站台的人非常好用.

有時候進中國抓檔不太方便, 就可以找 Open Anonymous Proxy
先去
http://www.xroxy.com/proxylist.php
Open Proxy List sorted by reliability column, descending
Open Proxy List sorted by reliability column, descending contains all proxies of this type that are publicly accessed at the moment ...
 
Type of proxy 選 anoymous , 拿個香港做例子
203.80.222.8    8081

在 dos command 下

$ set http_proxy=203.80.222.8:8081
再執行
$ wget -np -m http://udn.com/NEWS/mainpage.shtml
就可以 mirror 聯合報了.


其他還有很多很有趣的功能, 各位應該可以努力發現其他新的應用
像是只檢查 檔案不下載, 這功能就有可能只會加重伺服器的負擔,

其他的砍站軟體也有, 不過我就沒有研究了, 像是
http://www.httrack.com/page/2/en/index.html
Download HTTrack Website Copier 3.47-11 - HTTrack Website Copier - Free Software Offline Browser (GNU GPL) HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility. It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges ...
 

或是 Firefox plugin  spiderzilla
https://addons.mozilla.org/en-US/firefox/addon/spiderzilla/?src=search


最後請注意, 不要拿來攻擊別人的網站, 以免觸法受罰, 謝謝...

--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.22.92
darkprinceS:低調...1F 05/12 20:32
hirokofan:WGET不是砍站用的2F 05/12 20:32
qazsx2349:原來如此3F 05/12 20:32
nextpage:本台抄收XD4F 05/12 20:32
ilohoo:wego5F 05/12 20:32
mithralin:分類?6F 05/12 20:32
scott260202:wget攻擊這方面沒啥好用的...7F 05/12 20:33
同時 b 下去在背景跑 loading 也是很重的. :p
linweijie:抄收感謝櫃檯8F 05/12 20:33
NEWAZEL:改爆掛9F 05/12 20:33
mike7689:Linux果然是駭客專用OS10F 05/12 20:34
scott260202:linux要用請用curl11F 05/12 20:35
curl 不知道有沒有 Windows 的版本.
bluebluelan:linux只有geek會用12F 05/12 20:35
kilva:一些小程式放在爛的script中就有可能無意間攻擊到別人的網站13F 05/12 20:36
wst2080:telport更棒 XDDD14F 05/12 20:37
這好久了 :)
不過要省資源還是 wget/curl 好用. 寫寫 script 就可以一直抓.....
※ 編輯: richliu         來自: 140.113.22.92        (05/12 20:39)

--
※ 看板: WaterOh 文章推薦值: 0 目前人氣: 0 累積人氣: 2714 
※ 本文也出現在看板: Gossiping
分享網址: 複製 已複製
guest
x)推文 r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇