2010-09-01から1ヶ月間の記事一覧

Macでphp_mecabを使えるようにした

だけなのに、2回もクリーンインストールしたっていうね... いろいろ試したけど、 結局、こちらを参考にMacportsで全部入れた。 Ubuntuなら30分で終わる作業だよ、これ。 php_mecabを使えるようにする 上でpearを入れたので、pear経由でphp_mecab0.4.1を入…

JavascriptMission::Math time!攻略

問題 var foo = 5 + 6 * 7 var bar = foo % 8 var moo = bar * 2 var rar = moo / 3 function check(x) { if (x.length == moo) { alert("win!"); window.location += "?lvl_password="+x; } else { alert("fail D:"); } } こんなjavascriptが書いてある。 …

JavascriptMission::JS Obfuscation. FTW!攻略

問題 JS Obfuscation. FTW!その後に、例のごとくパスワード入力欄とボタン。 攻略 まぁとりあえず、ボタンに該当する箇所のHTMLを眺める。 <button onclick="javascript:if (document.getElementById("pass").value=="j00w1n"){alert("You WIN! ");window.location += "?lvl_password="+document.getElementById("pass").value}else {alert("WRONG! Try again!")}">Check Passwo…</button>

JavascriptMission::Escape!攻略

問題 なし例のごとくパスワード入力欄とボタン。 攻略 JavascriptMission::Idiot Test攻略 - なんというていたらくと同じようにcheck関数を見る。 moo = unescape('%69%6C%6F%76%65%6D%6F%6F'); function check (x) { if (x == moo) { alert("Ahh.. so that'…

JavascriptMission::go go away .js攻略

問題 Fiftysixer decided to try his hand at javascript! All was going well until he realized that he forgot to remove the unused code, which resulted in a confusing mess. He didn't mind, in fact, he did his best to make it even MORE confusi…

JavascriptMission::Var?攻略

問題 なし例のごとくパスワード入力欄とボタン。 攻略 JavascriptMission::Idiot Test攻略 - なんというていたらくと同じようにcheck関数を見る。 RawrRawr = "moo"; function check(x) { "+RawrRawr+" == "hack_this_site" if (x == ""+RawrRawr+"") { aler…

JavascriptMission::Disable Javascript攻略

問題 なしhttp://www.hackthissite.org/missions/javascript/2/にアクセスすると、 自動的にhttp://www.hackthissite.org/missions/javascript/2/fail.phpに飛ばされて、尚かつLogOutさせられる。 攻略 タイトル通り、javascriptを無効にしてあげればよい。 …

JavascriptMission::Idiot Test攻略

次はJavascriptMissionを攻略してみる。 問題 なし例のごとくパスワード入力画面があり、 その下に入力されたパスワードをチェックするボタンがある。 攻略 ボタンに該当するHMTLは以下のようになっている。 <button onclick="javascript:check(document.getElementById('pass').value)">Check Password</button> これは入力されたパスワードを引…

MBPを買って思ったこと。

mac

MBPを買った。 Twitter / muranoki3: MBP買っちゃった。 ...前々から欲しかったんだけど、合格祝いという名のいいわけを引き下げて、 今日渋谷のアップルストアに行って買ってきた。 金利0%を利用して分割で買おうと思ってたんだけど、 学割使うとAppleロ…

BasicMission::Basic9攻略

問題 Network Security Sam is going down with the ship - he's determined to keep obscuring the password file, no matter how many times people manage to recover it. This time the file is saved in /var/www/hackthissite.org/html/missions/basic…

BasicMission::Basic11攻略

問題 リンク元には Sam decided to make a music site. Unfortunately he does not understand Apache. This mission is a bit harder than the other basics.とあり、 http://www.hackthissite.org/missions/basic/11/にアクセスすると、 ただのテキストペ…

BasicMission::Basic10攻略

問題 なんか上書きされて消えちゃったので再度簡単に 問題文なしいきなりパスワード入れろみたいになってる。 This time Sam used a more temporary and "hidden" approach to authenticating users, but he didn't think about whether or not those users …

デスクトップパソコン、モニタ売ります。

NEW: 結局実家に送りました。 というわけで終了です。 NEW: 近々、ヤフオクに出品します。 そちらで売れた場合はお売りすることはできません。 NEW: 画像アップしました。 NEW: 値下げしました。 デスクトップPC及びモニタをセット売りします。 概要 @Sycom…

BasicMission::Basic8攻略

問題 Sam remains confident that an obscured password file is still the best idea, but he screwed up with the calendar program. Sam has saved the unencrypted password file in /var/www/hackthissite.org/html/missions/basic/8/ However, Sam's y…

BasicMission::Basic6攻略

問題 Network Security Sam has encrypted his password. The encryption system is publically available and can be accessed with this form: ... You have recovered his encrypted password. It is:0277<98? 攻略 これは簡単な換字式暗号の解読適当な文…

BasicMission::Basic7攻略

問題 This time Network Security sam has saved the unencrypted level7 password in an obscurely named file saved in this very directory. In other unrelated news, Sam has set up a script that returns the output from the UNIX cal command. Here…

目標を持って生きることを目標にする

大学院の結果は まだ知らないんだけど、教授の雰囲気からして落ちたんじゃないかと思う。 決まったわけじゃないけど、ここ2日間はおかげで軽く鬱ってた。 そんなことしてる場合じゃなくて これから先のことを考えなければいけないんだけど、 目先のことで手…