#copy types -- cannot be run as a snippet. Copy into console switch tabs, run again | |
if 'saved_types' in globals() or 'saved_types' in locals(): | |
log_info("Adding types...") | |
for t in saved_types: | |
bv.define_user_type(t[0], t[1]) | |
del saved_types | |
else: | |
log_info("Copying types...") | |
saved_types = [ (x, bv.types[x]) for x in bv.type_names if not bv.is_type_auto_defined(x) ] |
from binaryninja import Transform | |
from binaryninja.enums import TransformType | |
class HASHA(Transform): | |
name = 'HASHA' | |
long_name = 'ALWAYS RETURN A' | |
transform_type = TransformType.HashTransform | |
def perform_decode(self, data, params): | |
return b"AAAAA" |
function processResumes() | |
{ | |
/* Configuration */ | |
var labelToSave = 'Resumes'; | |
var labelToMarkSaved = 'Resumes/Saved'; | |
var labelBroken = 'Resumes/Saved/Broken'; | |
var resumeFolderID = 'INSERTYOURFOLDERIDHERE'; | |
// Folder ID can be found just by browsing to the folder in google drive | |
/* Configuration Goes Here */ | |
My recommended settings for setting up a slack that you plan to allow public access to. Methods for adding public users include third-party utilities like slackin (https://github.com/emedvedev/slackin-extended) which enable active user badges, or simpler methods such as using the Share Invite Link
from slack itself.
If you only do two things, make it these two: Make sure to disable all app integrations. There's a bunch that aren't secure for public slacks. Either deny all, or require review by an admin: https://YOURSLACK.slack.com/apps/manage/permissions Second, disable email in the profile view: https://binaryninja.slack.com/admin/settings#display_email_addresses
The reset are optional settings that may or may not be required depending on the slack:
#!/usr/bin/env python3 | |
from binaryninja import * | |
import glob, sys, os | |
if len(sys.argv) > 1: | |
path = sys.argv[1:] | |
else: | |
path = ["/bin/ls"] | |
for arg in path: | |
for f in [x for x in glob.glob(arg) if os.path.isfile(x) and os.access(x, os.R_OK)]: |
# Quick and dirty BN script for part of the whooo-r-u challenge during DEFCON Quals 2020. | |
# Used to identify likely environment variables and library names that were | |
# fed to other fuzzing sripts for SUID abuse | |
from binaryninja import * | |
import os | |
from pprint import pprint | |
import json | |
libname = "getenv" #re-ran the script with different arguments, not elegant, but it's CTF and both take a string in the first parameter... |
if which dig >/dev/null 2>/dev/null | |
then | |
alias remoteip="dig +short myip.opendns.com @resolver1.opendns.com" | |
elif which curl >/dev/null 2>/dev/null | |
then | |
alias remoteip="curl http://ipecho.net/plain" | |
fi | |
function localip() | |
{ | |
case "$OSTYPE" in |
With thanks to willpatera for the google apps script this is based on.
- Make a new google sheet (add column headers like "uss", "rss" or "vss" as posted in
log-memory.py
as appropriate) - Tools / Script Editor
- Paste
google code.js
into the window - Run / Setup (Authorize the app)
The number of cancelled conferences has really driven home to me that we have | |
crap for online training. The educational market surely has solutions to these | |
problems, but in the paid commercial training space, where are the platforms | |
designed for live interactive training that aren't just video chat with a very | |
thing skin on them?! | |
Here's my proposed wish-list of features. I've added a [ranking] where [1] is | |
must have, and [3] is nice to have. | |
- [2] Ability to drive students to specific web resources or local |