Skip to content

Instantly share code, notes, and snippets.

0xDEADBEEF JamesTheHacker

Block or report user

Report or block JamesTheHacker

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 gist:19db4d3e3b980dc3b333b0f2681ad4c8
// ==UserScript==
// @name Facebook Mass Group Invite
// @namespace http://tampermonkey.net/
// @homepage http://cyberpunks.co.uk/facebook-mass-invite-tampermonkey.html
// @version 1.0
// @description Scrapes targeted ID's from a Facebook group members page, or group discussion, and invite them to your own group.
// @author James Jeffery
// @match https://www.facebook.com/*
// @grant none
// @require https://code.jquery.com/jquery-3.0.0.min.js
View groupUIDScraper.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
import json
from login import login, getEnv
from pyquery import PyQuery as pq
import re
import requests
import sys
@JamesTheHacker
JamesTheHacker / Event.js
Created Aug 22, 2016
Promise based Facebook Event ID scraper
View Event.js
'use strict'
let Promise = require('bluebird')
let _ = require('lodash')
class Event {
constructor(session) {
this.session = session;
this.scrapedIDs = [];
}
@JamesTheHacker
JamesTheHacker / Session.js
Last active Aug 22, 2016
Log into Facebook using cookies
View Session.js
'use strict'
let Promise = require('bluebird');
let fs = Promise.promisifyAll(require('fs'));
let Cheerio = require('cheerio');
let Request = require('request');
let ToughCookie = require('tough-cookie');
class Session {
View gist:56fb9caf36244de582540e7d5c2fd6a5
ffmpeg \
-re -y \
-loop 1 \
-f image2 \
-i img_0.jpg \
-i audio.mp3 \
-acodec libfdk_aac \
-ac 1 \
-ar 44100 \
-b:a 128k \
View gist:1159446b05ceaef588ccf4f7603d69b3
<?php
// {NONE, LIKE, LOVE, WOW, HAHA, SAD, ANGRY, THANKFUL}
require __DIR__ . '/vendor/autoload.php';
use Intervention\Image\ImageManagerStatic as Image;
$pageID = '';
$accessToken = '';
View gist:a8400ac6fbcde8ca26834f8fbb03d06b
$userValidation->is_used = 1;
$userValidation->verified_at = $carbon::now();
$userValidation->user->update([
'email_verified' => 1
]);
$userValidation->save();
View gist:151d6277e05f75f4add54bc4a416908c
object(StudentApp\Models\MobileVerification)#101 (23) {
["table":protected]=>
string(19) "mobile_verification"
["connection":protected]=>
NULL
["primaryKey":protected]=>
string(2) "id"
["keyType":protected]=>
string(3) "int"
["perPage":protected]=>
View gist:a1ff2161185db0271fe8bb86225d082d
/*
* Email Verification
*/
$container['EmailService'] = function($c) {
return new \StudentApp\Services\EmailService($c);
};
/*
* Email Verification
*/
View gist:addf937e5de1ad2fa53e5af9daebe90d
$container['EmailService'] = function($c) {
return new \StudentApp\Services\EmailService($c);
};
// Replace with this
$container['\StudentApp\Services\EmailService::class'] = function($c) {
return new \StudentApp\Services\EmailService();
};
You can’t perform that action at this time.