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
| function harvestData(url) { | |
| let subdomains = []; | |
| let endpoints = []; | |
| // This is a basic example. | |
| try { | |
| fetch(url) | |
| .then(response => response.text()) | |
| .then(html => { | |
| // parsing |
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
| // not a userscript, but i modified a previous version i was working on that works 100% in the devtools console and obfuscated it | |
| function _0x5724(_0x4d21a2,_0x3733cb){const _0x5a1ced=_0x5a1c();return _0x5724=function(_0x572415,_0x56e9d2){_0x572415=_0x572415-(0x9*0x115+0x23ec+-0x2c17*0x1);let _0x1f4b33=_0x5a1ced[_0x572415];return _0x1f4b33;},_0x5724(_0x4d21a2,_0x3733cb);}(function(_0x41a38a,_0x141be5){const _0x340161=_0x5724,_0x630244=_0x41a38a();while(!![]){try{const _0x426d7b=-parseInt(_0x340161(0x1b3))/(0x1*0xc56+-0x2*0xc83+0xcb1)+parseInt(_0x340161(0x1b6))/(0xadf*-0x1+0x1641+-0xb60)*(-parseInt(_0x340161(0x19c))/(-0x10a5*0x1+-0x73e+0xbf3*0x2))+-parseInt(_0x340161(0x1a0))/(-0x305*0x7+-0xa87+0x2*0xfd7)*(-parseInt(_0x340161(0x1a3))/(0x11ec+0x19d1+-0x2bb8))+parseInt(_0x340161(0x1c8))/(0x148*0x1+-0x1*-0x1727+-0x1869*0x1)*(parseInt(_0x340161(0x199))/(-0xe*0x33+0x25e9+0x2*-0x118c))+-parseInt(_0x340161(0x19d))/(-0x1a35*-0x1+0x728*0x3+-0x2fa5)*(parseInt(_0x340161(0x1ae))/(0x245c+-0x1b4+-0x229f))+-parseInt(_0x34016 |
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
| // ==UserScript== | |
| // BEWARE - this actually saves your keypresses on a webpage to a file like a legitimate keylogger - nothing is hidden or obfuscated, but I wanted to see if it was possible using the boundaries of userscripts and the developer console. | |
| // @name Keylog3 | |
| // @namespace https://localhost | |
| // @version 0.2 | |
| // @description Logs keystrokes to a file 6 seconds after the last keypress. | |
| // @author matts0613 |
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
| #!/bin/bash | |
| google() { | |
| search="" | |
| echo "Googling: $@" | |
| for term in $@; do | |
| search="$search%20$term" | |
| done | |
| xdg-open "http://www.google.com/search?q=$search" | |
| } |
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
| // ==UserScript== | |
| // @name Full SI Swimsuit images | |
| // @match https://swimsuit.si.com/* | |
| // @grant none | |
| // @version 1.1 | |
| // @author https://github.com/matts0613 | |
| // @description Auto opens the original/full size image on swimsuit.si.com. | |
| // @namespace https://swimsuit.si.com/* | |
| // @license MIT | |
| // ==/UserScript== |
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
| #requirement - pip3 install pillow | |
| #Usage: python3 exif.py | |
| #simple script that prints exif information for a user | |
| #prompted image name in the same directory as this script | |
| from PIL import Image | |
| from PIL.ExifTags import TAGS | |
| #prompt user for name of image | |
| imagename = input("Enter name of the image: ") |
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
| #script that displays public info about IP, network, and hardware | |
| #python3 systemInfo.py | |
| import socket | |
| from urllib.request import urlopen | |
| import re | |
| import json | |
| import sys, getopt | |
| import psutil |
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
| javascript:(function()%7Bvar Login %3D alert("Please make sure you are logged into PayPal before using this.")%3Bvar caseID %3D prompt("Please enter the case ID")%3Bwindow.open("https%3A%2F%2Fwww.paypal.com%2Fresolutioncenter%2Fbilling%2Fentry%3Faction%3Dview%26caseId%3D"%2BcaseID%2B"%23%2FcaseDetails"%2C "_blank")%3Bwindow.onhashchange %3D alert("Case successfully opened")%7D)() |
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
| javascript:(function()%7B(function google() %7B%0A var search%3D prompt("Please enter your search terms:")%3B%0A window.open("https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3D" %2B search)%3B%0A%7D)()%7D)()%3B |
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
| #quick little IP geolocation script I threw together. Gives your public IP, region of world/country, country, city, and org. | |
| #usage is just 'python ipgeo.py' and you are all set, assuming you have the imported modules. | |
| import re | |
| import json | |
| from urllib2 import urlopen | |
| url = 'http://ipinfo.io/json' | |
| response = urlopen(url) | |
| data = json.load(response) |