This file contains 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 findNextLetter = async function(password) { | |
if(!password) { | |
password = "" | |
} | |
for (let letter = 'a'; letter <= 'z'; letter = String.fromCharCode(letter.charCodeAt(0)+1)) { | |
let newPassword = password + letter; | |
let response = await fetch("http://localhost:8080/WebGoat/SqlInjectionAdvanced/challenge", { |
This file contains 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 java.io.IOException; | |
import java.io.PrintWriter; | |
import javax.servlet.ServletOutputStream; | |
import javax.servlet.WriteListener; | |
import javax.servlet.http.HttpServletResponse; | |
import javax.servlet.http.HttpServletResponseWrapper; | |
public class LazyResponseBodyChecker extends HttpServletResponseWrapper { |
This file contains 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 java.io.BufferedReader; | |
import java.io.ByteArrayInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.StringReader; | |
import java.util.stream.Collectors; | |
import javax.servlet.ReadListener; | |
import javax.servlet.ServletInputStream; | |
import javax.servlet.http.HttpServletRequest; |
This file contains 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
alert("xss from a github gist!"); | |
console.log("xss from a github gist!"); |
This file contains 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 Ancestry.com/AncestryLibrary.com Switcheroo | |
// @namespace https://www.joehxblog.com/ | |
// @version 0.1 | |
// @description switch between Ancestry.com & AncestryLibary.com while maintaining URL structure | |
// @author JoeHx | |
// @match https://www.ancestry.com/* | |
// @match https://www.ancestrylibrary.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none |
This file contains 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
package com.joehxblog; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.function.Consumer; | |
import org.jsoup.HttpStatusException; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.select.Elements; |
This file contains 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 java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
public class ArrayHolder { | |
public static void main(final String... args) { | |
// An array of objects that have an array as a field... | |
final ArrayHolder[] holders = {new ArrayHolder(), new ArrayHolder(), new ArrayHolder(), new ArrayHolder()}; | |
This file contains 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 NoFollow / DoFollow Hover-Highlighter | |
// @namespace https://hendrixjoseph.github.io/ | |
// @version 0.1 | |
// @description To Easily Identify DoFollow and NoFollow Links | |
// @author JoeHx | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |