この記事は削除する事になりました。 詳しくはこちらをご覧ください。 http://d.hatena.ne.jp/labeneko/20110402/1301713783
この記事は削除する事になりました。 詳しくはこちらをご覧ください。 http://d.hatena.ne.jp/labeneko/20110402/1301713783
Thursday, 31 March 2011 Creating a distributed SSH brute forcer in Python - Part 2 the SSH scanner Following on from my previous post we will now start to put pen to paper and create our system. The SSH scanner is the most integral part of the whole set-up, it finds the targets that we want to brute force and logs them to our IRC channel. The scanner we will be constructing scans at about 650 IP'
手元にWEB-DB Press vol.60の「言語設計の基礎知識」がある人はP.28を参照ください。ここにあるような「カウントダウンをするwhile」、原稿ではC言語で説明していますけど、本当は機械語とかにもふれたかったのですよ。紙面と時間の都合でできていないのですけど。 で、生の機械語はそれはそれで色々説明しないといけないから大変かな、と思ってwhileを実現するために最小限の仮想機械を作ってみました。 # -*- encoding: utf-8 -*- """ mini-VM 解説のための最小限のVM 最小限とは?最小限である必要があるか? チューリング完全である必要があるのか? jump pos : PCをposに変更 if_eq a1 v1 pos : mem[a1] == v1 ならjump pos print a1 : mem[a1]をprint set a1 v1 : me
型はバイト幅だけじゃなくてどうやって二進法でエンコードするのかも規定するよね、という話をしていて確認のためのコードを書いた。手抜きをして方法Bでやってもいいよね、と思ったら予想外の結果が出たので悩んでいる。→解決 #include<stdio.h> int main(){ int i; float f = 1.0; /* 素直な方法 A (追記:やっちゃダメ!)*/ i = *(int*)(&f); printf("A %d\n", i); /* 手抜きな方法 B */ printf("B %d\n", f); } Rubyでこんな感じに文字列化して、と。 irb> def pp(x) x.to_s(2).rjust(32, "0") end irb> pp 1065353216 => "00111111100000000000000000000000" 0.500000の時 A 1056
1/64 >> First Last TCC で遊んだ話と x86-64 と はまじしん一ろう
1 of 12 Link to this photo | Comments about this photo essay (0) In this March 24, 2011 photo released by AIR PHOTO SERVICE, a small unmanned drone is pictured before flying over the crippled Fukushima Dai-ichi nuclear plant to take aerial photos, at Fukushima Sky Park in Fukushima, northern Japan. (AP Photo/AIR PHOTO SERVICE) MANDATORY CREDIT 2 of 12 Link to this photo | Comments about this phot
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く