Skip to content

Instantly share code, notes, and snippets.

View AvasDream's full-sized avatar
🎯
Focusing

AvasDream

🎯
Focusing
View GitHub Profile
@AvasDream
AvasDream / cloud.md
Last active July 9, 2020 08:41
Cheatsheet for Cloud testing things

AWS Config

docker run --rm -it -v ~/.aws:/root/.aws amazon/aws-cli configure

AWS Bucket check ACL

@AvasDream
AvasDream / hashcat.md
Last active July 2, 2020 08:51
Hashcat Benchmarks for different infrastructure types.

p3.2xlarge

OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: Tesla V100-SXM2-16GB, 4040/16160 MB allocatable, 80MCU

Benchmark relevant options:
===========================
* --optimized-kernel-enable
@AvasDream
AvasDream / oscp_prep.md
Last active August 27, 2025 16:28
Resource for OSCP like HTB Boxes with Ippsec Videos and Writeups.
@AvasDream
AvasDream / bashrc
Created March 9, 2020 13:10
Bash cusomization 2020
# Own stuff
# Functions
tcpall () {
nmap -sV -sC -p- -oN $1_tcp_all.txt $1
}
udpall () {
sudo nmap -sV -sC -sU -oN $1_tcp_all.txt $1
}
@AvasDream
AvasDream / devops.md
Last active March 27, 2020 12:00
Personal DevOps Cheatsheet for pentesting infrastrucutre

Cheatsheet for devops Problems

Problem

Find the owner ID of an AWS Ami to insert in terraform aws_ami ressources

Solution

Visit the Image on the marketplace and copy the productid out of the URI.

@AvasDream
AvasDream / jwt.md
Created January 23, 2020 14:14
Quick and dirty get all JWT tokens script for creating a permission matrix.
import requests
import json
import time

users = [
    {
        "email": "[email protected]",
        "password": "password"
@AvasDream
AvasDream / docker-compose.yml
Created January 17, 2020 11:51
Docker registry Setup with wui
version: '3'
services:
registry-api:
image: registry:2
container_name: registry-api
ports:
- 5000:5000
restart: always
volumes:
@AvasDream
AvasDream / docker-compose.yml
Last active January 4, 2020 20:11
Elasticsearch, Dejavu, Kibana
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
container_name: elastic_search
environment:
- node.name=es01
- discovery.type=single-node
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358
@AvasDream
AvasDream / Windows-PC-slow-Internet.md
Created November 26, 2019 21:38
Windows PC slow Internet

Issue 26-11-2019

Only one client in the network had a bad internet speed. Searched a lot. A hope this helps someone.

Windows Documentation

  1. Open Powershell as administrator

  2. Input: netsh int tcp show global