Skip to content

Instantly share code, notes, and snippets.

View andmeics's full-sized avatar
🏠
Working from home

Callisthenes Don andmeics

🏠
Working from home
View GitHub Profile
@andmeics
andmeics / ffmpeg.md
Created July 22, 2022 09:30 — forked from tzutalin/ffmpeg.md
ffmpeg视频合并、格式转换、截图

使用ffmpeg合并MP4文件

ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
@andmeics
andmeics / sqli2.yaml
Created April 16, 2022 08:04 — forked from 0x240x23elu/sqli2.yaml
Basic SQL Injection Detections nuclei Template
id: SQLInjection_ERROR
info:
name: SQLINJECTION Detection
author: 0x240x23elu & OFJAAAH
severity: High
requests:
- method: GET
@andmeics
andmeics / Building-a-SKS-Keyserver.md
Created March 30, 2022 01:47 — forked from mattrude/Building-a-SKS-Keyserver.md
Building a SKS Keyserver on Ubuntu 18.04 LTS

A Key Server is used to distribute PGP/GPG keys between different users. One of the most popular key servers for use with pgp/gpg is the sks keyserver. This document will walk you through downloading, installing, and setting up a sks keyserver on Ubuntu 18.04 LTS.

Building your own PGP SKS Server

Building a SKS server is a pretty straight forward project if you are use to running servers.

To build a production SKS Server, you must...

@andmeics
andmeics / 00-README.txt
Created February 23, 2022 01:22 — forked from klzgrad/00-README.txt
DNS compression pointer mutation
$ LD_PRELOAD=$PWD/sendmsg.so dig twitter.com @8.8.8.8
;; Warning: Message parser reports malformed message packet. <-- malformed 因为把压缩指针当作域名一部分了
;; Question section mismatch: got twitter.com/RESERVED0/CLASS256
; <<>> DiG 9.9.5-3-Ubuntu <<>> twitter.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44722
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
@andmeics
andmeics / broken_set_cookie
Created February 20, 2022 07:59 — forked from marcinantkiewicz/broken_set_cookie
broken Set-Cookie headers from www.google.com
@andmeics
andmeics / WireGuard-site-to-site.md
Created February 19, 2022 07:54
Accessing a subnet that is behind a WireGuard client using a site-to-site setup

WireGuard Site-to-Site

Accessing a subnet that is behind a WireGuard client using a site-to-site setup

Problem Summary

We want to access a local subnet remotely, but it is behind a NAT firewall and we can't setup port forwarding. Outgoing connections work, but all incoming connections get DROPPED by the ISP's routing policy.

Solution Summary