Skip to content

Instantly share code, notes, and snippets.

David Vassallo dvas0004

Block or report user

Report or block dvas0004

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SSL_Reverse_Proxy.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template encoding-version="1.2">
<description></description>
<groupId>f83b243e-016a-1000-7ae4-d55879bd67a8</groupId>
<name>Beats (encrypted)</name>
<snippet>
<connections>
<id>5d08bc84-630a-3e17-0000-000000000000</id>
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
View alerting.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template encoding-version="1.2">
<description></description>
<groupId>0b75361c-016a-1000-e901-df6077c56bf0</groupId>
<name>Alerting</name>
<snippet>
<connections>
<id>37ad2546-e691-3c83-0000-000000000000</id>
<parentGroupId>673af2b8-8391-3580-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
View netflow_to_file.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template encoding-version="1.2">
<description></description>
<groupId>0165328f-016a-1000-faa4-53a3512c51c5</groupId>
<name>NetFlow To File</name>
<snippet>
<connections>
<id>2b15b939-ffe5-342a-0000-000000000000</id>
<parentGroupId>ca04b9d6-b10c-33c7-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
View Exploring Gaussian Process.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dvas0004
dvas0004 / eidVerifySignature.py
Created Feb 25, 2019
python script to verify ECDSA signatures generated from the newer Estonian eID cards. Signature and Certificate must be obtained from eID itself, eg by using: https://hwcrypto.github.io/demo/
View eidVerifySignature.py
# pip install ecdsa
# pip install cryptography
# https://github.com/warner/python-ecdsa
# https://cryptography.io/en/latest/
from ecdsa import VerifyingKey, BadSignatureError
from cryptography import x509
View InteractiveOzwave.py
import logging
import sys, os
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger('openzwave')
import openzwave
from openzwave.node import ZWaveNode
from openzwave.value import ZWaveValue
from openzwave.scene import ZWaveScene
@dvas0004
dvas0004 / employeeHarvesting.js
Created Nov 22, 2018
Employee Harvesting from Linked In (companion code to blog post)
View employeeHarvesting.js
const linkedinEmail = '*******';
const linkedinPassword = '*******';
const companyName = 'CHANGE ME';
const extraFilter = 'change me (or set to null)';
const maxPages = 2;
////////
@dvas0004
dvas0004 / decompiler.py
Created Oct 26, 2018
grpc-web reverse engineer
View decompiler.py
import jsbeautifier
import requests
import pprint
enumerateMessagesSearchString = 'exportSymbol("proto.'
r = requests.get('http://localhost:8081/dist/main.js')
jsInput = r.text
pretty_js = jsbeautifier.beautify(jsInput).split('\n')
@dvas0004
dvas0004 / ExtensionAllInOneNotes.java
Created Oct 1, 2018
zap-extensions, all in one notes
View ExtensionAllInOneNotes.java
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@dvas0004
dvas0004 / TLN_real_estate.py
Created Aug 13, 2018
Tallinn Real Estate - Scraping data using python and visualization
View TLN_real_estate.py
# only python 3.6 supported
# sudo pipenv --python=3.6 install requests requests_html numpy
import requests
import numpy as np
from requests_html import HTMLSession
class KVBuilder:
def __init__(self):
You can’t perform that action at this time.