単身生活 out 函館 To 札幌

函館2年間の単身生活の日々記録。2007.5.1めでたく単身解消。in函館 ⇒out函館To札幌自宅で単身生活!?

Linkstation WHTGL WTGL acp_commander teletd

2009-01-12 | Linkstation
リンクステーションでtelnetを有効にする

java -jar acp_commander.jar を使用する。
http://www.nas-central.org/wiki/Main_Pageここの
ダウンロード-->Buffalo Downloads--->tools---->から落とす

Vistaの場合管理者モードで。

DOSのディレクトリを変える
以下のような感じ
---------------------
C:Usersyama>java -jar acp_commander.jar -t 192.168.253.52 -o
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.

WARNING: This is experimental software that might brick your linkstation!


Using random connID value = 9875E0336AAC
Using target: 52.253.168.192.in-addr.arpa/192.168.253.52
Starting authentication procedure...
Sending Discover packet...
Found: LS-WTGLD00 (/192.168.253.52) LS-WTGL/R1(KOGEN) (ID=00481) mac: 00:
1D:73:19:2D:00 Firmware= 1.80 Key=0332A361
Trying to authenticate EnOneCmd... ACP_STATE_OK
start telnetd... OK (ACP_STATE_OK)
Reset root pwd... Password changed.


You can now telnet to your box as user 'root' providing no / an empty password.

C:Usersyama>
---------------------
rootパスワードが無しになるので
ログイン後に passwdする

-------------------------
自動起動させるには /etc/init.d/rcSの最後に追記する
/usr/sbin/telnetd  

SSH有効にするには  
/usr/local/sbin/sshd

--------------------------------------------HELP
c:Usersyama>java -jar acp_commander.jar
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.

WARNING: This is experimental software that might brick your linkstation!


Version 0.4.1 (beta)

Usage: acp_commander [options] -t target

options are:
-t target .. IP or network name of the Linkstation.
-m MAC ... define targets mac address set in the ACP package.
-na ... no authentication, skip the ACP_AUTH packet.
-ba ... use bug/bufferoverflow on LS to bypass password authent.
-pw passwd . your LS admin password.
-i ID ... define a connection identifier, standard: random value.
-p port ... define alternative target port, default = 22936
-b localIP.. bind to local address.

-f ... find linkstation(s).
-o ... open the linkstation by sending 'telnetd' and 'passwd -d root'.
-c cmd ... sends the given shell command cmd to the linkstation.
-s ... interactive shell.
-cb ... clear boot, output of df follows for control of success.
-ip newIP... change IP to newIP, clears also admin password.
-save ... save configuration.
-load ... load configuration.
-blink ... blink LED's and play some tones.
-gui nr ... set Web GUI language 0=Jap, 1=Eng, 2=Ger.
-addons ... install addons.tar from local or linkstationwiki.
-diag ... run some diagnostics on LS settings (lang, backup).
-emmode ... Linkstation boots next into EM-mode.
-normmode .. Linkstation boots next into normal mode.
-reboot ... reboot Linkstation.
-shutdown .. shut Linkstation down.

-d1 | -d2 .. set debug level, generate additional output
-q ... quiet, surpress header, does not work with -h or -v
-h | -v ... extended help
-u ... usage (this output)

*) this is not the MAC address the packet is sent to, but the address within
the ACP packet. The linkstation will only react to ACP packets if they
carry the correct (its) MAC-address or FF:FF:FF:FF:FF:FF

This program is the result of the work done at nas-central.org (linkstationwiki.
net),
which is not related with Buffalo(R) in any way.

Experimental software, use with care, it might brick your Linkstation!

玄箱をハックしよう!―ハックキットで夢のVine Linuxホームサーバー
山下 康成
アスキー

このアイテムの詳細を見る



にほんブログ村 IT技術ブログへにほんブログ村
ジャンル:
北海道
キーワード
ホームサーバー リンクステーション
コメント (0) |  トラックバック (0) |  この記事についてブログを書く
Messenger この記事をはてなブックマークに追加 mixiチェック シェア
« 三国志 新装 3... | トップ | マグカップ  »

コメント

コメントはありません。

コメントを投稿

 ※ 
コメント利用規約に同意の上コメント投稿を行ってください。
※文字化け等の原因になりますので、顔文字の利用はお控えください。
下記数字4桁を入力し、投稿ボタンを押してください。この数字を読み取っていただくことで自動化されたプログラムによる投稿でないことを確認させていただいております。
数字4桁

トラックバック

この記事のトラックバック  Ping-URL
  • 30日以上前の記事に対するトラックバックは受け取らないよう設定されております。
  • 送信元の記事内容が半角英数のみのトラックバックは受け取らないよう設定されております。
  • このブログへのリンクがない記事からのトラックバックは受け取らないよう設定されております。
  • ※ブログ管理者のみ、編集画面で設定の変更が可能です。

あわせて読む