This file contains hidden or 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/bash | |
# (should not be run as shell script, the steps take so long) | |
# Restore/change AWS S3 files from Glacier storage class to STANDARD or STANDARD_IA and copy them in-place to get non-expiring ones | |
# There wasn't any instructions on how to do this easily so I decided to write them. | |
# In case you screw things up with lifecycle options etc. | |
# Procedure might take a while if you have many many files. | |
# There are three steps: |
This file contains hidden or 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
from burp import IBurpExtender, ISessionHandlingAction | |
class BurpExtender(IBurpExtender): | |
def registerExtenderCallbacks(self, callbacks): | |
callbacks.registerSessionHandlingAction(CsrfSessionHandler(callbacks.getHelpers())) | |
class CsrfSessionHandler(ISessionHandlingAction): | |
def __init__(self, helpers): |