Skip to content

Instantly share code, notes, and snippets.

Loran Kloeze LoranKloeze

Block or report user

Report or block LoranKloeze

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
@LoranKloeze
LoranKloeze / political_party_websites_vs_foreign_requests.py
Created May 6, 2019
To which external domains does a given Dutch politcal website connect?
View political_party_websites_vs_foreign_requests.py
# Copyright 2019 - https://www.twitter.com/LoranKloeze
# License: MIT
#
# This script was used for collecting the data for this Dutch article:
# https://www.lorankloeze.nl/2019/05/06/vreemde-communicatie-websites-politieke-partijen/
#
# Parse HAR files and print a table containg websites of Dutch political parties versus foreign requests
# This script answers the following question: 'To which external domains does a given website connect?'
#
# All HAR files are expected to contain the information provided by Google Chrome using the following workflow:
@LoranKloeze
LoranKloeze / petya_count.rb
Last active Jun 28, 2017
Script that fetches and tweets the current balance of #petya ransomware bitcoin wallet
View petya_count.rb
# Copyright Loran Kloeze
# License: MIT
# 27-06-2017
require 'nokogiri'
require 'open-uri'
require 'twitter'
require 'json'
while true do
btc = JSON.parse(open("http://api2.coindesk.com/headerchart/history?currency=BTC").read)
@LoranKloeze
LoranKloeze / scroll_instagram.js
Created May 31, 2017
Automatic scroll of Instagram page, stop scrolling by hand...
View scroll_instagram.js
/*
Tired of scrolling to one of the last photos on the page on Instagram? Let your
browser do the scrolling for you!
31-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
Usage
- Go to https://www.instagram.com/instagram_handle/ (change instagram_handle in i.e. taylorswift)
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet)
- Select the contents of this complete file and copy/paste it to the console and hit enter
@LoranKloeze
LoranKloeze / scroll_twitter_followers.js
Last active Apr 4, 2019
Automatic scroll of Twitter followers, stop scrolling by hand...
View scroll_twitter_followers.js
/*
You know how Twitter never loads all the followers but you have to keep scrolling? Well,
this script automatically keeps scrolling to the end of the follower list.
30-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
Usage
- Go to https://www.twitter.com/twitter_handle/followers (change twitter_handle in i.e. realdonaldtrump)
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet)
- Select the contents of this complete file and copy/paste it to the console and hit enter
@LoranKloeze
LoranKloeze / whatsapp_phone_enumerator_floated_div.js
Last active Jul 16, 2019
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
View whatsapp_phone_enumerator_floated_div.js
/****** I've created a Chrome extension from this script, take a look at https://github.com/LoranKloeze/WhatsAllApp ********/
/******************** Keep in mind: this script is frozen. Check the url mentioned above. **********************************/
/******************** Keep in mind: this script is frozen. Check the url mentioned above. **********************************/
/******************** Keep in mind: this script is frozen. Check the url mentioned above. **********************************/
/******************** Keep in mind: this script is frozen. Check the url mentioned above. **********************************/
/******************** Keep in mind: this script is frozen. Check the url mentioned above. **********************************/
/******************** Keep in mind: this script is frozen. Check the url mentioned above. **********************************/
// Was this script of any use for you? Please consider a donation. It has taken me a lot of time to figure this
@LoranKloeze
LoranKloeze / probe_requests_OSX_to_screen_or_sqlite3.py
Last active Dec 10, 2018
Special for OSX: this script grabs 802.11 probe requests from the air and puts them on your screen or in a sqlite3-db
View probe_requests_OSX_to_screen_or_sqlite3.py
#!/usr/bin/env python2.7
# 802.11 probe requests processor
# Copyright (C) 2017 Ralon cybersecurity
# Loran Kloeze - loran@ralon.nl - @lorankloeze
# MIT license: do with it what you want but use it for good
#
# Tested on OS X El Capitan 10.11.6 - MacBook Air
#
# This script grabs probe requests from the air and outputs them on the screen
# and/or saves them to a sqlite3-db.
@LoranKloeze
LoranKloeze / probe_requests_to_sqlite3.py
Last active Jan 2, 2018
This script grabs 802.11 probe requests from the air and puts them in a sqlite3-db
View probe_requests_to_sqlite3.py
#!/usr/bin/env python2.7
# 802.11 probe requests processor
# Copyright (C) 2017 Ralon cybersecurity
# Loran Kloeze - loran@ralon.nl - @lorankloeze
# MIT license: do with it what you want but use it for good
#
# This script grabs probe requests from the air and puts them in a sqlite3-db.
# It cleans up the database to prevent old entries from filling up too much disk
# space. Check the regex before starting this script because it assumes 3
# antennas on the wireless device.
@LoranKloeze
LoranKloeze / stemwijzer.py
Created Feb 7, 2017
Script om stemwijzer resultaten te pretty printen
View stemwijzer.py
#!/usr/bin/env python3.5
import subprocess
from prettytable import PrettyTable
import json
import time
print("Gegevens ophalen...")
party_ids = ['x'] * 2000
party_ids[1078] = 'VVD'
party_ids[1079] = 'PvdA'
You can’t perform that action at this time.