start new:
tmux
start new with session name:
tmux new -s myname
#-*- coding:utf-8 -*- | |
''' | |
DEF CON 2017 Quals - Godzilla (Reverse) | |
Timing attack on RSA decryption. | |
Based on http://www.cs.jhu.edu/~fabian/courses/CS600.624/Timing-full.pdf | |
Another solutions: | |
https://gist.github.com/nneonneo/367240ae2d8e705bb9173a49a7c8b0cd by b2xiao | |
https://gist.github.com/Riatre/caac24840b176cf843b3f66ad9a5eeaf by riatre |
# For an alternative method, check out: | |
# https://gist.github.com/pudquick/3ff4278c609ce223ebb4fc300c5edd0f | |
from Foundation import NSBundle, NSClassFromString | |
SafariShared = NSBundle.bundleWithPath_('/System/Library/PrivateFrameworks/SafariShared.framework') | |
loaded = SafariShared.load() | |
WBSPasswordGeneration = NSClassFromString('WBSPasswordGeneration') | |
CKRecord = NSClassFromString('CKRecord') | |
def generate_password(requirements=None): |
''' | |
example of: | |
- providing custom UI hints with dynamic data from Python | |
in this silly example, we display UI hints with the current timestamp. | |
a more useful plugin might inspect the hovered line, and display some documentation. | |
Author: Willi Ballenthin <william.ballenthin@fireeye.com> | |
Licence: Apache 2.0 | |
''' |
''' | |
example of: | |
- using ctypes with the IDA SDK | |
- providing custom UI hints with dynamic data from Python | |
in this silly example, we display UI hints with the current timestamp. | |
a more useful plugin might inspect the hovered line, and display some documentation. | |
Author: Willi Ballenthin <william.ballenthin@fireeye.com> | |
Licence: Apache 2.0 |
// | |
// main.m | |
// ProtectTest | |
// Demonstrates newer versions of iOS now support PROT_EXEC pages, for just-in-time compilation. | |
// | |
// Must be compiled with Thumb disabled | |
// | |
// Created by Stuart Carnie on 3/4/11. | |
// Copyright 2011 Manomio LLC. All rights reserved. | |
// |
#import <UIKit/UIKit.h> | |
#include <dlfcn.h> | |
static const CFStringRef kMGDieID = CFSTR("DieId"); | |
typedef NS_ENUM(NSInteger, BKSInterfaceOrientation) { | |
BKSInterfaceOrientationPortrait = 1, | |
BKSInterfaceOrientationPortraitUpsideDown = 2, | |
BKSInterfaceOrientationLandscapeRight = 3, | |
BKSInterfaceOrientationLandscapeLeft = 4 |