Skip to content

Instantly share code, notes, and snippets.

await page.EvaluateFunctionOnNewDocumentAsync(@"function() {
delete navigator.__proto__.webdriver
/* global MimeType MimeTypeArray PluginArray */
// Disguise custom functions as being native
const makeFnsNative = (fns = []) => {
const oldCall = Function.prototype.call
function call () {
return oldCall.apply(this, arguments)
}
@julionc
julionc / puppeteer-bot.js
Created May 19, 2019 05:39 — forked from nicoandmee/puppeteer-bot.js
disguisePage - undetectable puppeteer
const WEBGL_RENDERERS = ['ANGLE (NVIDIA Quadro 2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (NVIDIA Quadro K420 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro 2000M Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro K2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (ATI Radeon HD 3800 Series Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 3000 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Mobile Intel(R) 4 Seri
@TheRealRyGuy
TheRealRyGuy / kahoot-handshake.md
Last active June 23, 2023 02:19
Kahoot Handshake Information - Going to notate future Kahoot Protocol information

Kahoot Protocol

Huge Shoutouts to msemple1111 and his protocol information here that supplied a lot of information for this

Terms to Know

Epoch: Unit of Time used by Unix - counts time from January 1st 1970 to current time in seconds (converter)


Handshake Requests Returns Service Token GET: https://kahoot.it/reserve/session/*pin*/?*time

@sashahilton00
sashahilton00 / index.js
Created June 26, 2017 15:12
Spotify Connection and DH Handshake
//Spotify Protocol Connection Demo
//N.B. Don't forget to install the dependencies
var crypto = require('crypto');
var fs = require('fs');
var net = require('net');
var protobuf = require('protocol-buffers');
var HOST = 'lon6-accesspoint-a19.ap.spotify.com';
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)
@hsiboy
hsiboy / BotBuster.md
Last active June 6, 2024 09:11
Bot-Buster™ - Tracks nefarious activity on website, and manages accordingly.

Bot-Buster™

Tracks nefarious activity on website, and manages accordingly.

It's probably a bot.

If the requesting entity:

  • declares its user-agent as being wget, curl, webcopier etc - it's probably a bot.
  • requests details -> details -> details -> details ad nauseum - it's probably a bot.
  • requests the html, but not .css, .js or site furniture - it's probably a bot.