This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var s = "[" | |
| for (let ImageElement of document.getElementsByTagName("img")) { | |
| if (ImageElement.getAttribute("id")) { | |
| let str = ImageElement.getAttribute("src") | |
| s += `'${str.substr(2, str.length)}',` | |
| } | |
| } | |
| s += "]" | |
| c = `import shutil, requests\\ns=${s}\\ni=0\\nfor u in s:\\n\\tb = requests.get('https://'+(u.replace('-large.','-xxlarge.')), stream=True)\\n\\twith open(str(i)+'.png','wb') as f:\\n\\t\\tshutil.copyfileobj(b.raw,f)\\n\\t\\ti+=1` | |
| console.log(`python -c "exec(\\"${c}\\")"`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Compile with | |
| // g++ -O3 -Ofast -m64 -lstdc++ -std=c++17 Benchmark.cpp -o Benchmark | |
| // or | |
| // g++ -O3 -Ofast -m64 -lstdc++ -lpthread -std=c++17 Benchmark.cpp -o Benchmark | |
| #include <iostream> | |
| #include <cstring> | |
| #include <vector> | |
| #include <thread> | |
| #include <random> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import threading | |
| import random | |
| import ctypes | |
| import time | |
| import sys | |
| import os | |
| c_Workers = 32 | |
| c_Dictionary = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #< VERSION:0.1.0, REV:10 | |
| import threading | |
| import requests | |
| import argparse | |
| import json | |
| import zlib | |
| import gzip | |
| import time | |
| import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pyperclip | |
| import math | |
| from PIL import Image, ImageOps | |
| c_MaxColorDifference = 4 # 4, 8, 16 | |
| c_TargetResolution = 176 | |
| c_SliceOperations = 998 # 998 | |
| c_DrawsPerFlush = 70 | |
| c_MaxCubeSize = 60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import latest_user_agents | |
| import contextlib | |
| import threading | |
| import requests | |
| import socket | |
| import urllib | |
| import time | |
| from urllib3.exceptions import InsecureRequestWarning | |
| from urllib.parse import urlparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import base64 | |
| import json | |
| import sys | |
| if len(sys.argv) < 3: | |
| print("Expected 2 arguments, capture file, and output folder\n\tpython Separate.py Capture.json Frames/") | |
| exit() | |
| File = open(sys.argv[1], 'r') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let CircuitMaker = {} | |
| const Components = Object.freeze({ | |
| NOR: 0, | |
| AND: 1, | |
| OR: 2, | |
| XOR: 3, | |
| Button: 4, | |
| FlipFlop: 5, | |
| LED: 6, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import contextlib | |
| import threading | |
| import socket | |
| import struct | |
| from colorama import Fore, Back, Style | |
| c_TargetsFile = "Targets.txt" | |
| c_Timeout = 10 | |
| c_Threads = 200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $CurrentUser = [Security.Principal.WindowsIdentity]::GetCurrent() | |
| if (!(New-Object Security.Principal.WindowsPrincipal($CurrentUser)).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
| Write-Host "Asking for privileges..." | |
| Start-Process -FilePath "powershell" -ArgumentList ('-File', $MyInvocation.MyCommand.Source, $args | %{ $_ }) -Verb RunAs | |
| exit | |
| } | |
| function KillProcess($Name) { | |
| $Process = Get-Process $Name -ErrorAction SilentlyContinue |
OlderNewer