IGGG Advent Calender 2015のために書いた記事です。
常設CTFで遊んでたらPwnable系の問題を解いてるうちにいろいろと勉強になったのでまとめます。
PwnableとはCTFのジャンルの1つで、プログラムの脆弱性をつき、本来アクセスできないメモリ領域にアクセスして操作し、フラグを取得する感じの問題です。
別名としてExploit
があります。
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
IGGG Advent Calender 2015のために書いた記事です。
常設CTFで遊んでたらPwnable系の問題を解いてるうちにいろいろと勉強になったのでまとめます。
PwnableとはCTFのジャンルの1つで、プログラムの脆弱性をつき、本来アクセスできないメモリ領域にアクセスして操作し、フラグを取得する感じの問題です。
別名としてExploit
があります。
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"
Thx to crxviewer for the magic download URL.
// | |
// JAZMusician.h | |
// JazzyApp | |
// | |
#import <Foundation/Foundation.h> | |
/** | |
JAZMusician models, you guessed it... Jazz Musicians! | |
From Ellington to Marsalis, this class has you covered. |
WWDC 2014 - Talks by Evangelists | |
============================================================ | |
============================================================ | |
Jake Behrens - App Frameworks Evangelists | |
behrens@apple.com/Twitter: @Behrens | |
============================================================ | |
- A Look Inside Presentation Controllers | |
- Accessibility on iOS | |
- Accessibility on OS X |
# ----- PROMPT ----- | |
## PROMPT | |
PROMPT=$'[%*] → ' | |
## RPROMPT | |
RPROMPT=$'`branch-status-check` %~' # %~はpwd | |
setopt prompt_subst #表示毎にPROMPTで設定されている文字列を評価する | |
# {{{ methods for RPROMPT | |
# fg[color]表記と$reset_colorを使いたい | |
# @see https://wiki.archlinux.org/index.php/zsh |
UI- and App Frameworks Evangelist - Jake Behrens, behrens@apple.com, twitter: @Behrens | |
- What's new in Cocoa | |
- Accessibility in iOS | |
- Building User Interfaces for iOS 7 | |
- Getting Started with UIKit Dynamics | |
- What's new in Cocoa Touch | |
- What's New With Multitasking | |
- Best Practices for Cocoa Animation | |
- Improving Power Efficiency with App Nap | |
- Introducing Text Kit |
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'JSON' | |
require 'digest/sha2' | |
require 'pry' | |
require 'bigdecimal' | |
require 'bitcoin' # Because I need to cheat every now and then | |
# Usage: | |
# gem install pry json ffi ruby-bitcoin |
# Commonly used webrat steps | |
# http://github.com/brynary/webrat | |
When /言語は"(.*)"/ do |lang| | |
header("ACCEPT_LANGUAGE", lang) | |
end | |
When /^"(.*)"ボタンをクリックする$/ do |button| | |
clicks_button(button) | |
end |