Skip to content

Instantly share code, notes, and snippets.

View xhdix's full-sized avatar
:electron:
:):

xhdix

:electron:
:):
View GitHub Profile
@tomac4t
tomac4t / Github-MITM-20200326.md
Last active January 17, 2023 01:18
Github Pages MITM

Github MITM

openssl

$ openssl s_client -connect pages.github.com:443 -showcerts
CONNECTED(00000003)
depth=1 C = CN, ST = GD, L = SZ, O = COM, OU = NSP, CN = CA, emailAddress = 346608453@qq.com
verify error:num=19:self signed certificate in certificate chain
verify return:1
depth=1 C = CN, ST = GD, L = SZ, O = COM, OU = NSP, CN = CA, emailAddress = 346608453@qq.com
verify return:1
@seriyps
seriyps / mtp_install.sh
Last active May 24, 2024 16:11
Interactive MTProto proxy installer
#!/bin/bash
# Automatic interactive installer for mtproto proxy https://github.com/seriyps/mtproto_proxy
# Supported OS:
# - Ubuntu 18.xx
# - Ubuntu 19.xx
# - Ubuntu 20.xx
# - Ubuntu 21.xx
# - Ubuntu 22.xx
# - Debian 11 bullseye
# - Debian 10 buster
@ipoddubny
ipoddubny / ipconfig.md
Last active April 15, 2023 23:22
How to get public IP address from Linux shell

http

curl ifconfig.co
curl icanhazip.com
curl ifconfig.me
curl http://smart-ip.net/myip

telnet