Skip to content

Instantly share code, notes, and snippets.

@M507
M507 / AWS-CLI-V2_Burp-Suite.txt
Created January 1, 2024 01:34 — forked from 6e726d/AWS-CLI-V2_Burp-Suite.txt
HowTo set up AWS CLI version 2 to use Burp Suite
$ # HowTo set up AWS CLI version 2 to use Burp Suite
$
$ # Requirements: Burp Suite, curl
$
$ # 1. Installing AWS CLI version 2, configure and test
$
$ curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o Downloads/awscliv2.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33.5M 100 33.5M 0 0 6825k 0 0:00:05 0:00:05 --:--:-- 7290k
@M507
M507 / ec2-metadata
Created December 29, 2023 20:17 — forked from copernicus/ec2-metadata
ec2-metadata: a simple tool for exploring Amazon EC2 metadata, extended with network and VPC info
#!/bin/bash
#
#########################################################################
#This software code is made available "AS IS" without warranties of any #
#kind. You may copy, display, modify and redistribute the software #
#code either by itself or as incorporated into your code; provided that #
#you do not remove any proprietary notices. Your use of this software #
#code is at your own risk and you waive any claim against Amazon #
#Digital Services, Inc. or its affiliates with respect to your use of #
#this software code. (c) 2006-2007 Amazon Digital Services, Inc. or its #
@M507
M507 / Set-SSHPermissions.ps1
Last active November 21, 2023 15:32 — forked from mgeeky/Set-SSHPermissions.ps1
Powershell script to set CHMOD permissions for SSH Private PEM key files in Windows. This is to avoid nagging "WARNING: UNPROTECTED PRIVATE KEY FILE!" message
#
# Sets chmod permissions for the PEM file to be used with Windows' OpenSSH
# without annoying "WARNING: UNPROTECTED PRIVATE KEY FILE!" message.
#
function Set-SSHPermissions {
param(
[string]
$FilePath