Skip to content

Instantly share code, notes, and snippets.

Geert-Jan Brits gebrits

Block or report user

Report or block gebrits

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
@gebrits
gebrits / gist:57689768eceaec43ae0ddd17949d7503
Created Jan 13, 2018
x-ray driver extended with proxy
View gist:57689768eceaec43ae0ddd17949d7503
var Request = require('request')
var r = request.defaults({'proxy':'http://localproxy.com'})
function makeDriver(opts) {
if (typeof opts === "function") {
var request = opts
} else {
var request = Request.defaults(opts)
}
@gebrits
gebrits / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 — forked from LoranKloeze/whatsapp_phone_enumerator_floated_div.js
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
View whatsapp_phone_enumerator_floated_div.js
/*
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
View AdvancedRestClientOAuth2orize.md

Advanced Rest Client with OAuth2orize

For this to work you will need to install the Advanced Rest Client for some of these steps. Of course you will need to install OAuth2orize as well.

Run the oauth2orize provider/server example which does server-side OAuth flow:

cd oauth2orize\examples\express2
node app.js
@gebrits
gebrits / gist:6173100
Created Aug 7, 2013
Docpad Queryengine collection
View gist:6173100
collections:
pagesInMainMenu: (database) ->
database.findAllLive({pageOrder: {$exists: true}, includenInNavs: {$has: 'main'}}, [pageOrder:1,title:1])
You can’t perform that action at this time.