罪と罰++二律背反
WIN/Wshでtelnet
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
] [
リンク元
]
開始行:
[[PC/WINDOWS]]
*httpget.vbs [#o568a294]
-telnetじゃないな・・・
set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 3000
WshShell.SendKeys "telnet www.google.com 80~"
WScript.Sleep 3000
WshShell.SendKeys "GET / HTTP/1.1~"
WshShell.SendKeys "Host:www.google.com~"
WshShell.SendKeys "~"
WshShell.SendKeys "~"
WshShell.SendKeys "~"
WScript.Sleep 100
WshShell.SendKeys "~~"
WScript.Sleep 3000
WshShell.SendKeys "exit~"
終了行:
[[PC/WINDOWS]]
*httpget.vbs [#o568a294]
-telnetじゃないな・・・
set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 3000
WshShell.SendKeys "telnet www.google.com 80~"
WScript.Sleep 3000
WshShell.SendKeys "GET / HTTP/1.1~"
WshShell.SendKeys "Host:www.google.com~"
WshShell.SendKeys "~"
WshShell.SendKeys "~"
WshShell.SendKeys "~"
WScript.Sleep 100
WshShell.SendKeys "~~"
WScript.Sleep 3000
WshShell.SendKeys "exit~"
ページ名: