Skip to content

Instantly share code, notes, and snippets.

@chubbymaggie
chubbymaggie / australian-postcodes.sql
Created July 2, 2021 04:55 — forked from randomecho/australian-postcodes.sql
Australian postcodes (with states and suburb names) geocoded with latitude and longitude.
/*
Taken and cribbed from blog.datalicious.com/free-download-all-australian-postcodes-geocod
May contain errors where latitude and longitude are off. Use at own non-validated risk.
*/
SET NAMES utf8;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS postcodes_geo;
{"200": [["200", "Australian National University", "ACT", -35.28, 149.12]],
"221": [["221", "Barton", "ACT", -35.2, 149.1]],
"800": [["800", "Darwin", "NT", -12.8, 130.96]],
"801": [["801", "Darwin", "NT", -12.8, 130.96]],
"804": [["804", "Parap", "NT", -12.43, 130.84]],
"810": [["810", "Alawa", "NT", -12.38, 130.88], ["810", "Brinkin", "NT", -12.38, 130.88], ["810", "Casuarina", "NT", -12.38, 130.88], ["810", "Coconut Grove", "NT", -12.38, 130.88], ["810", "Jingili", "NT", -12.38, 130.88], ["810", "Lee Point", "NT", -12.38, 130.88], ["810", "Lyons", "NT", -12.38, 130.88], ["810", "Millner", "NT", -12.38, 130.88], ["810", "Moil", "NT", -12.38, 130.88], ["810", "Muirhead", "NT", -12.38, 130.88], ["810", "Nakara", "NT", -12.38, 130.88], ["810", "Nightcliff", "NT", -12.38, 130.88], ["810", "Rapid Creek", "NT", -12.38, 130.88], ["810", "Tiwi", "NT", -12.38, 130.88], ["810", "Wagaman", "NT", -12.38, 130.88], ["810", "Wanguri", "NT", -12.38, 130.88]],
"811": [["811", "Casuarina", "NT", -12.38, 130.85]],
"812": [["8
#! /bin/bash
# Adopted from the great DetectionLab
# This will install Splunk + BOTSv3 dataset
install_prerequisites() {
echo "[$(date +%H:%M:%S)]: Downloading DetectionLab..."
# Clone DetectionLab for Splunk Apps
git clone https://github.com/clong/DetectionLab.git /opt/DetectionLab
}
#! /bin/bash
# Adopted from the great DetectionLab
# This will install Splunk + BOTSv3 dataset
install_prerequisites() {
echo "[$(date +%H:%M:%S)]: Downloading DetectionLab..."
# Clone DetectionLab for Splunk Apps
git clone https://github.com/clong/DetectionLab.git /opt/DetectionLab
}
@chubbymaggie
chubbymaggie / iranian_apit_groups_possible_commands.md
Created January 8, 2020 09:17 — forked from MSAdministrator/iranian_apit_groups_possible_commands.md
Iranian APT Groups & Possible Commands Used By These Groups

Overview

The following content is generated using a preview release of Swimlane's pyattck.

This snippet of data is scoped to the following actor groups:

  • APT33
  • APT34
  • APT39
  • Charming Kitten
@chubbymaggie
chubbymaggie / List of API endpoints & objects
Created October 31, 2019 16:14 — forked from yassineaboukir/List of API endpoints & objects
A list of 3203 common API endpoints and objects designed for fuzzing.
0
00
01
02
03
1
1.0
10
100
1000
@chubbymaggie
chubbymaggie / Install
Created October 2, 2019 01:28 — forked from ines/Install
Streamlit + spaCy
pip install streamlit
pip install spacy
python -m spacy download en_core_web_sm
python -m spacy download en_core_web_md
python -m spacy download de_core_news_sm
@chubbymaggie
chubbymaggie / analysis.draft.md
Created July 26, 2019 02:13 — forked from MattPD/analysis.draft.md
Program Analysis Resources (WIP draft)
// Launch WinAFL with current function as hook location
//@author richinseattle
//@category _NEW_
//@keybinding
//@menupath
//@toolbar
// Usage:
// Install DynamoRIO and WinAFL
// Add LaunchWinAFL to Ghidra scripts
import idc
import ida_frame
import ida_struct
def get_local_var_value_64(loc_var_name):
frame = ida_frame.get_frame(idc.here())
loc_var = ida_struct.get_member_by_name(frame, loc_var_name)
loc_var_ea = loc_var.soff + idc.GetRegValue("RSP")
loc_var_value = idc.read_dbg_qword(loc_var_ea) # In case the variable is 32bit, use get_wide_dword() instead.
return loc_var_value