<commit_before>// ==UserScript==
// @name        XSS Shrapnel
// @namespace   *
// @description aaa"bbb'ccc<ddd>eee
// @include     *
// @version     2.1
// @grant       none
// ==/UserScript==

var bForceUrlEncoded = 1
var bFillHiddenForms = 0

var iPayload = 0

var aPayloads = ['aaa"bbb\'ccc<ddd>eee', 
		 'aaa"bbb\'eee', 
		 'aaa"eee', 
		 'aaa"bbb\'ccc>ddd<eee', 
		 'aaa"bbb\'ccc<<ddd>ddd<ddd>>eee', 
		 'aaa\\"bbb\'ccc<ddd>fff</eee>']

var regex = /aaa.*?eee/gi
var regex = /.{0,100}aaa.{0,50}?eee.{0,100}/gi

window.addEventListener
(
	'keydown', 
	function (e)
	{
		if (e.altKey || e.modifiers)
		{
			if (e.keyCode == 72)
			{
				var sPrompt = prompt ('Fill hidden forms?', bFillHiddenForms)
				
				sPrompt == null || (bFillHiddenForms = parseInt (sPrompt))
			}
			
			if (e.keyCode == 80)
			{
				var sPrompt = prompt ('Choose payload', iPayload)
				
				if (sPrompt !== null)
				{<commit_msg>Update xss-shrapnel.js<commit_after>// ==UserScript==
// @name        XSS Shrapnel
// @namespace   *
// @description aaa"bbb'ccc<ddd>eee
// @include     *
// @version     2.1
// @grant       none
// ==/UserScript==

var bForceUrlEncoded = 1
var bFillHiddenForms = 0

var iPayload = 0

var aPayloads = ['aaa"bbb\'ccc<ddd>eee', 
		 'aaa"bbb\'eee', 
		 'aaa"eee', 
		 'aaa"bbb\'ccc>ddd<eee', 
		 'aaa"bbb\'ccc<<ddd>ddd<ddd>>eee', 
		 'aaa\\"bbb\\\'ccc<ddd>fff</eee>']

var regex = /aaa.*?eee/gi
var regex = /.{0,100}aaa.{0,50}?eee.{0,100}/gi

window.addEventListener
(
	'keydown', 
	function (e)
	{
		if (e.altKey || e.modifiers)
		{
			if (e.keyCode == 72)
			{
				var sPrompt = prompt ('Fill hidden forms?', bFillHiddenForms)
				
				sPrompt == null || (bFillHiddenForms = parseInt (sPrompt))
			}
			
			if (e.keyCode == 80)
			{
				var sPrompt = prompt ('Choose payload', iPayload)
				
				if (sPrompt !== null)
				{
{'fraction_non_alphanumeric': 0.19312602291325695, 'fraction_numerical': 0.02182214948172395, 'mean_word_length': 2.6975806451612905, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '715120', 'n_tokens_mistral': 916, 'n_tokens_neox': 763, 'n_words': 143}