Skip to content

Instantly share code, notes, and snippets.

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
<?xml version="1.0"?>
<methodCall><methodName>system.multicall</methodName><params>
<param><value><array><data>
<value><struct>
<member><name>methodName</name><value><string>wp.getCategories</string></value></member>
<member><name>params</name><value><array><data>
<value><string>admin</string></value>
<value><string>password</string></value>
</data></array></value></member>
</struct></value>
@arall
arall / build.sh
Created October 29, 2015 13:43
Creates a OSX installation DMG from a JAR file, with an icon :D
NAME="Payload"
# Setup
mkdir build
cd build
echo "Main-Class: $NAME" > payload.txt
jar cmf payload.txt payload.jar
# Icon
curl --remote-name https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/Art/QuickTimePlayerX_2x.png
wget http://img1.ndsstatic.com/wallpapers/1e22e5d5fd4d733b6601f17da1928ba3_large.jpeg -O /tmp/bg.jpeg
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/tmp/bg.jpeg"'
@arall
arall / payload.txt
Last active May 16, 2019 11:36
BashBunny - OSX Wallpaper Change (Mojave & Sierra)
LED SETUP
DRIVER_LABEL='BashBunny'
GET SWITCH_POSITION
MAC_HAPPY ATTACKMODE HID STORAGE
LED ATTACK
Q DELAY 1000
@arall
arall / custom.cs
Created October 10, 2018 07:04
Slack Dark Theme custom CSS
:root {
/* Modify these to change your theme colors: */
--primary: #61AFEF;
--text: #ABB2BF;
--background: #282C34;
--background-elevated: #3B4048;
/* These should be less important: */
--background-hover: lighten(#3B4048, 10%);
--background-light: #AAA;
@arall
arall / run.py
Last active October 23, 2019 07:50
TP
import requests
import json
import random
import string
import sys
import re
session = requests.Session()
session.headers.update({'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0)'})
@arall
arall / secHeaders.sh
Created November 13, 2018 07:44
Checks Missing Security Headers
#!/bin/bash
headers=$(curl -s -I -L "https://"$1)
echo "$headers"
declare -a checks=(
'Strict-Transport-Security'
'X-Frame-Options'
'X-XSS-Protection'
'X-Content-Type-Options'
@arall
arall / crawler.js
Last active July 8, 2019 20:20
NodeJS Headless Chrome Crawler Traffic Interceptor
const HCCrawler = require('headless-chrome-crawler');
const url = require('url');
const args = process.argv.slice(2);
var requests = [];
if(args[0] === undefined || args[1] === undefined){
console.log('node crawler.js <url> <depth>');
process.exit();
}
@arall
arall / setup.sh
Last active October 12, 2024 02:41
Raspberry 3 Kali Oros42/IMSI-catcher
# Install gr-gsm
sudo apt-get update && \
sudo apt-get install -y \
cmake \
autoconf \
libtool \
pkg-config \
build-essential \
python-docutils \
libcppunit-dev \