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
let filename = decodeURIComponent(s3.object.key.replace(/\+/g,'%20')); | |
connection.query( | |
'INSERT INTO uploaded_files_table (`file`) VALUES ("' + filename + '")', | |
(error, results) => {} | |
); |
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
"""IAM Permission Enumerator. | |
This is a quickly modified, but working version of the following script: https://gist.github.com/darkarnium/1df59865f503355ef30672168063da4e | |
This code provides a mechanism to attempt to validate the permissions assigned | |
to a given set of AWS tokens. | |
""" | |
import re | |
import sys | |
import logging | |
import datetime |
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/env python | |
import math | |
import sys | |
''' | |
This is a script which counts a character entropy in a single string. | |
Usage: entropy.py STRING |
This file has been truncated, but you can view the full file.
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
` | |
~/ | |
~ | |
×™× | |
___ | |
__ | |
_ |
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/bash | |
# This script requires installed drozer on your computer (https://github.com/mwrlabs/drozer) | |
# and agent.apk on your device/emulator ($ adb install agent.apk) | |
# Before running this script, you should firstly invoke these commands: | |
# $ virtualenv drozer_env | |
# $ source drozer_env/bin/activate | |
# $ ./drozer_env.sh | |
# | |
# Problem description: |