Skip to content

Instantly share code, notes, and snippets.

@rubyman
rubyman / zap-xss-scan.py
Last active January 30, 2021 08:41
Python script for ZAP docker to scan with customized policy - You should add or remove any rule id in line 65 to customizing your scan - Exactly the same code here: https://github.com/zaproxy/zaproxy/blob/main/docker/zap-full-scan.py
#!/usr/bin/env python
# Zed Attack Proxy (ZAP) and its related class files.
#
# ZAP is an HTTP/HTTPS proxy for assessing web application security.
#
# Copyright 2017 ZAP Development Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@rubyman
rubyman / minio-upload.sh
Last active September 19, 2025 00:01
A shell script to upload a file to minio buckets - Original script: https://github.com/kneufeld/minio-put/
#!/bin/bash
# usage: ./minio-upload my-bucket my-file.zip minio-host.com access_key secret
bucket=$1
file=$2
minio_host=$3
access_key=$4
secret=$5