@mizchi / Increments Inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PixivImage | |
include Mongoid::Document | |
field :image_id | |
field :pixiv_user_id | |
field :title | |
field :tags, :type => Array | |
field :url | |
field :image_url | |
field :description | |
field :saved, :type => Boolean, :default => false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
白い瓶に封じられたディスク | |
茶色のハンドバッグに隠されたセキュリティカード | |
赤いビニール袋に入ったIDカード | |
茶色のペットボトルに詰めこまれた宝の地図 | |
赤い謎の像に入った地図 | |
紫色のワインボトルに封じられた証拠写真 | |
金色の段ボール箱に厳重に保管された覚醒剤 | |
銀色のコーラの空き缶に入っているフロッピーディスク | |
銀色のペンに入った覚せい剤 | |
金色の空き缶に詰められたヘロイン |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// STWKClientHook.m | |
#import "STWKClientHook.h" | |
#import <objc/message.h> | |
struct STWKOrderedClientCluster{ | |
struct WKPageLoaderClient loader; | |
struct WKPagePolicyClient policy; | |
struct WKPageFormClient form; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
class CA { | |
has @.data; | |
has @.rule; | |
method new ($rule, $length, $population) { | |
my @data = (1 xx $population, 0 xx $length - $population).pick(*); | |
my @rule = $rule.fmt("%08b").flip.comb.map({.Int}); | |
self.bless(*, data => @data, rule => @rule); |
この問題は Plack::Middleware::Session::Cookie 0.22以降で対策されました
→ https://gist.github.com/miyagawa/2b8764af908a0dacd43d http://search.cpan.org/~miyagawa/Plack-Middleware-Session/lib/Plack/Middleware/Session/Cookie.pm
事例 → https://speakerdeck.com/mala/how-to-hack-metacpan-dot-org
信頼できないデータを Storable::thaw に渡した場合、任意のコード実行ができることが知られています。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a unix wrapper around the erlang vm. It provides the following functionality: | |
# | |
# * Spawns in foreground | |
# * Handle SIGHUP and call RELOADFUNC | |
# * Handle SIGTERM SIGQUIT and SIGINT telling to the vm to quit | |
# * Dies if the vm dies (for example kernel killing because out of memory) | |
# | |
# Forks and improvements are welcome. |
未修正のアプリが数多く残っている状態なので、パブリックな場所での言及には注意して下さい
未修正のアプリが数多く残っている状況ですが、すでに広く情報が公開されており、2.5.2で修正されたという情報が広まると混乱が生じるため広く周知する次第です。
AFNetworking 2.5.1 にMITM攻撃を許す脆弱性があり、2.5.2で修正された、 と報道されていますが、これは誤りです。
OlderNewer