I hereby claim:
- I am parsiya on github.
- I am parsiya (https://keybase.io/parsiya) on keybase.
- I have a public key whose fingerprint is 641E 6613 8F8B 9A05 988A 4FCA 338D 4F49 DB5D B734
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
There are definitely better ways to do this. The named parameter version is much better in my opinion, the shortcode is easier to write but this should work for both.
Create a file named wp.html
(this will be the name of the shortcode) and put it in hugo\layouts\shortcodes\
.
{{ if .IsNamedParams }}
{{ $.Scratch.Set "wp_tag" (.Get "tag") }}
{{ with .Get "lang" }}
{{ $.Scratch.Set "wp_lang" . }}
{{ else }}
from base64 import b64encode | |
from binascii import unhexlify | |
print b64encode(unhexlify("0a0b0c0d")) | |
CgsMDQ== |
# notepad does not have an entry | |
$ Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad.exe" | |
False | |
# chrome does | |
$ Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe" | |
True |
This is a collection of code snippets used in my Pen Test Hackfest 2018 Presentation
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="html" indent="no"/> | |
<xsl:key name="issue-by-type" match="issue" use="type" /> | |
<xsl:template match="/issues"> | |
<html> | |
<head> | |
<title>Burp Scanner Report</title> |
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
namespace runme | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
title: "SANS Holiday Hack Challenge 2018 Solutions" date: 2019-01-15T19:33:21-05:00 draft: false toc: true comments: true twitterImage: 01-bloodhound.png categories:
Located at https://github.com/returntocorp/semgrep-interfaces/blob/main/semgrep_output_v0.jsonschema.
This draft is too advanced so most libraries cannot parse it.
atombender/go-jsonschema CAN get something IF we use the master branch (and not the latest tagged version).
The lastest tagged version gets this error