Skip to content

Instantly share code, notes, and snippets.

View schniggie's full-sized avatar
๐Ÿ’ฃ
/${@๐š“๐šŠ๐šŸ๐šŠ.๐š•๐šŠ๐š—๐š.๐š๐šž๐š—๐š๐š’๐š–๐šŽ@๐š๐šŽ๐š๐š๐šž๐š—๐š๐š’๐š–๐šŽ().๐šŽ๐šก๐šŽ๐šŒ("๐š†๐šƒ๐™ต ๐™ฐ๐š๐š•๐šŠ๐šœ๐šœ๐š’๐šŠ๐š—")}/

แ„ƒฮ‰ะฏIฦงฦฌำจPฮ‰ฮฃะฏ (Bแ„‚ฮฃแ„ƒKMฮ›ะŸะŸ-)Dะฏฮฃฮ‰ฮฃะฏ schniggie

๐Ÿ’ฃ
/${@๐š“๐šŠ๐šŸ๐šŠ.๐š•๐šŠ๐š—๐š.๐š๐šž๐š—๐š๐š’๐š–๐šŽ@๐š๐šŽ๐š๐š๐šž๐š—๐š๐š’๐š–๐šŽ().๐šŽ๐šก๐šŽ๐šŒ("๐š†๐šƒ๐™ต ๐™ฐ๐š๐š•๐šŠ๐šœ๐šœ๐š’๐šŠ๐š—")}/
View GitHub Profile
@1kastner
1kastner / reflect.py
Last active August 12, 2024 15:24 — forked from huyng/reflect.py
A simple echo server to inspect http web requests
#!/usr/bin/env python
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE
# Written by Nathan Hamiel (2010)
from http.server import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
@mdonkers
mdonkers / server.py
Last active April 4, 2025 13:11
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
License: MIT License
Copyright (c) 2023 Miel Donkers
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
@0xjac
0xjac / private_fork.md
Last active May 11, 2025 19:36
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@BuffaloWill
BuffaloWill / cloud_metadata.txt
Last active May 6, 2025 04:20
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]
@rhaidiz
rhaidiz / sqlmapapiwrapper.py
Last active April 22, 2023 21:22
sqlmap APIs wrapper
#!/usr/bin/env python3.5
"""
This library provides convenient methods for executing
and accessing sqlmap APIs.
NOTE: Tested only with python3.5
"""
import time
@dciccale
dciccale / docker-enter
Last active March 30, 2022 16:48
docker-enter bash alias to enter a docker container
# usage docker-enter [CONTAINER_ID]
dockerenter() {
docker exec -it $1 bash
}
alias docker-enter=dockerenter
@morhekil
morhekil / nginx.conf
Created August 14, 2014 12:18
Full request/response body logging in nginx
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '
@Stanback
Stanback / nginx.conf
Last active March 30, 2025 03:57 — forked from michiel/cors-nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which