Skip to content

Instantly share code, notes, and snippets.

View larssmit's full-sized avatar

Lars Smit larssmit

  • Gouda, The Netherlands
View GitHub Profile
description Adversarial Red-Team System - Internal security testing persona that actively hunts for exploits in newly written code before task completion
author Devin + AcidGreen Servers
version 1.0
globs
**/*.js
**/*.ts
**/*.py
**/*.jsx
**/*.tsx
**/*.html
**/*.css
tags
security
red-team
adversarial-testing
vulnerability-hunting
behavioral

Adversarial Red-Team System

Internal Security Testing & Vulnerability Hunting

@larssmit
larssmit / compare_yaml.rb
Created November 10, 2015 07:00 — forked from joost/compare_yaml.rb
Compare two YAML files
def compare_yaml_hash(cf1, cf2, context = [])
cf1.each do |key, value|
unless cf2.key?(key)
puts "Missing key : #{key} in path #{context.join(".")}"
next
end
value2 = cf2[key]
if (value.class != value2.class)
@larssmit
larssmit / .gvimrc.before
Last active August 29, 2015 14:03
My .gvimrc.before
" -----------------------------------------------------------------------------
" VIM Configuration for Janus (https://github.com/carlhuda/janus.git)
" Lars Smit larssmit@me.com
" -----------------------------------------------------------------------------
" -----------------------------------------------------------------------------
" Basics
" -----------------------------------------------------------------------------
set encoding=utf8
@larssmit
larssmit / settings.txt
Last active August 29, 2015 13:58
My Sublime Text 3 settings
# Github Theme
# GitGutter
# SidebarEnhancements
# Alignment
# SASS
{
"bold_folder_labels": true,
"color_scheme": "Packages/Github Color Theme/GitHub.tmTheme",
@larssmit
larssmit / styles.less
Last active August 29, 2015 13:57
My Atom editor styles.less
.btn {
background-image: linear-gradient(#537178, #537178);
box-shadow:0px px 0px 0px rgba(255,254,255,0.60), inset 0px 0px 0px 1px rgba(255,254,255,0.50);
color: #BDD6DB;
}
.tree-view {
.entry.directory.status-modified > .header,
.entry.file.status-modified {
color: orange;
@larssmit
larssmit / tm2iterm.rb
Created March 5, 2014 13:45
Builds an itermcolors scheme file for iTerm2 from a Textmate tmTheme
#!/usr/bin/env ruby
#
# This script is an astonishing feat of top notch
# rockstar craftsmanship. It totally uses artificial
# intelligence to extract colors out of tmTheme and
# build an itermcolors scheme file for iTerm2.
#
# I know this sounds crazy, but it actually knows
# approximately what colors should be used in the
# ANSI list, and tries to find nearest colors from

Capybara

save_and_open_page

Matchers

have_button(locator)
@larssmit
larssmit / .tm_properties
Created January 30, 2013 06:19
TextMate 2 .tm_properties with default settings for each RoR project.
projectDirectory = '$CWD'
windowTitleProject = '${projectDirectory:+ — ${projectDirectory/^.*\///}}'
windowTitleFramework = '${TM_DIRECTORY/.*\/Frameworks\/([^\/]+)\/.*|.*/${1:+ ($1)}/}'
windowTitle = '$TM_DISPLAYNAME$windowTitleFramework$windowTitleProject$windowTitleSCM'
excludeFiles = "{destroy,tmtags,tmtagsHistory,tags,.tm_properties,.htaccess,.gitignore,dump.rdb,*rid,*lock,*log,*sh}"
excludeInFolderSearch = "{destroy,tmtags,tmtagsHistory,tags,.tm_properties,.htaccess,.gitignore,dump.rdb,*rid,*lock,*log,*sh}"
@larssmit
larssmit / README.md
Created December 26, 2012 11:21 — forked from dergachev/README.md

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

@larssmit
larssmit / .gitconfig
Created November 24, 2012 14:35
My .gitconfig
[user]
name = Lars Smit
email = larssmit@me.com
[push]
default = current
[alias]
st = status
ci = commit
br = branch
df = diff