Skip to content

Instantly share code, notes, and snippets.

View louisgrasset's full-sized avatar
👑
Proud

Louis Grasset louisgrasset

👑
Proud
View GitHub Profile
@alenabdula
alenabdula / gist:f827d24e1ebd01eaa4a2501326355bd9
Created April 5, 2021 21:07
Facebook Breach Torrent Magnet Link
magnet:?xt=urn:btih:0595273ab674e05131a757f69f494a4285b429aa&dn=Facebook%20Leak%20%5B2019%5D%5B533M%20Records%5D%5B106%20Countries%5D
@ZeHiro
ZeHiro / auth.js
Last active August 3, 2018 16:11
cozy-connector-thenounproject-fix-auth
function authenticate(login, password) {
return signin({
url: `${baseUrl}/accounts/login/`,
formSelector: 'form.new-form',
formData: { login, password },
// the validate function will check if
validate: (statusCode, $) => {
// The login in toscrape.com always works excepted when no password is set
if ($(`a[href='/logout']`).length === 1) {
return true