Skip to content

Instantly share code, notes, and snippets.

@ppp0
ppp0 / delete_all_object_versions.sh
Last active August 30, 2017 15:42 — forked from weavenet/delete_all_object_versions.sh
Delete all versions of all files in s3 versioned bucket using AWS CLI and jq.
#!/bin/bash
bucket=$1
prefix=$2
max_entries=${3:-50}
set -e
echo "Removing ${max_entries} versions from $bucket"
echo "executing aws s3api list-object-versions --bucket $bucket --prefix $prefix --max-items $max_entries"
@ppp0
ppp0 / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 12:10
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every