Skip to content

Instantly share code, notes, and snippets.

@kaimi-
kaimi- / Dockerfile
Created January 25, 2022 10:57
A-Bot under Alpine Linux environment with glibc in Docker
# A-Bot under Alpine Linux environment with glibc in Docker
#
# docker build --tag abot-alpine:1.0 .
# docker run -it --rm -v ${PWD}:/opt/abot-data --name abot-alpine abot-alpine:1.0
#
# Referal (BEP20): 0x6c13cc78c20f8123db1b52bc1fc90174edb55a55
#
FROM alpine:3.14
ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8
ENV GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc
@kaimi-
kaimi- / gist:6b3c99538dce9e3d29ad647b325007c1
Last active November 6, 2024 16:08
Possible IP Bypass HTTP Headers
CACHE_INFO: 127.0.0.1
CF_CONNECTING_IP: 127.0.0.1
CF-Connecting-IP: 127.0.0.1
CLIENT_IP: 127.0.0.1
Client-IP: 127.0.0.1
COMING_FROM: 127.0.0.1
CONNECT_VIA_IP: 127.0.0.1
FORWARD_FOR: 127.0.0.1
FORWARD-FOR: 127.0.0.1
FORWARDED_FOR_IP: 127.0.0.1
@kaimi-
kaimi- / dotnet-keys.xml
Created December 26, 2020 10:58
.NET machine keys from Github
<?xml version="1.0" encoding="utf-8"?>
<entries>
<entry><repo>072114202/000</repo><validationKey>DA106C928E696E1E4DF1869FE3957AC8A9C625723EA02C806C722561A4BE1F13</validationKey><decryptionKey>9CD496BA0D236966D63072E3DCD717040EFB09927A9D54B6858A14D6A5F3884D</decryptionKey></entry>
<entry><repo>0zzo/AjaxControlToolKit18.1</repo><validationKey>5278D83EDD8E36C27E019D3E975D62A3FDF0E8EF50DB69F659D03EB18A4459D2B3271AA075173012EF122E2B7BFA49CDE16CC0DCC68F3E862E1EEE491D300DC9</validationKey><decryptionKey>7EE421F6987EAFF4998E0F2ED5544AF1B931C82A1602BC2E</decryptionKey></entry>
<entry><repo>1020847665/test</repo><validationKey>1CFEFA045B2C4F8C406C7F94A7D4E8D367621D54</validationKey><decryptionKey>065E62FA2432A0B60832FB4B7CE7325F84B9AE1B319F1A22</decryptionKey></entry>
<entry><repo>1071157808/io.yuyi.jinyinmao.server</repo><validationKey>E36C925743B394CA47D1E0C047823B952202856E9DE62168764FF0DCE537184F0535D5D9AD66DEDCE36C925743B394CA47D1E0C047823B952202856E97DC1ABF</validationKey><decryptionKey>F7FA540B4DFD82E5BB196B95D1
export PROMPT="%F{cyan}%n%f@%F{green}%m%f:%~ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export HISTCONTROL=ignorespace
alias dir='ls'
alias ls='ls -G'
alias cls='clear'
https://lists.yoctoproject.org/pipermail/linux-yocto/2017-December/006689.html
https://forum.openwrt.org/t/installing-openwrt-on-mikrotik-wap-r-rbwapr-2nd/15423/113
https://drive.google.com/drive/folders/1w9pgfiC9fhQe9mDl6J4icBeK8LAkO7_S
<Configuration>
<Add OfficeClientEdition="64" Branch="Current">
<Product ID="Excel2019Retail">
<Language ID="ru-ru" />
</Product>
<Product ID="Word2019Retail">
<Language ID="ru-ru" />
</Product>
<Product ID="Outlook2019Retail">
<Language ID="ru-ru" />
@kaimi-
kaimi- / AWUS036ACH
Last active January 2, 2019 09:14
AWUS036ACH
http://fars-robotics.net/install-wifi
https://github.com/aircrack-ng/aircrack-ng
https://github.com/t6x/reaver-wps-fork-t6x (apply https://github.com/t6x/reaver-wps-fork-t6x/issues/265#issuecomment-441272085)
ln -s /lib/udev/rules.d/80-net-setup-link.rules /etc/udev/rules.d/80-net-setup-link.rules
@kaimi-
kaimi- / dante.sh
Created April 13, 2018 12:26
Dante proxy setup script
#!/bin/bash
LOGIN="user"
PASSW="pass"
PORT="12345"
DANTE_VERSION="1.4.2"
DANTE_DOWNLOAD_URL="https://www.inet.no/dante/files/dante-$DANTE_VERSION.tar.gz"
DANTE_CFG_PATH="/etc/sockd.conf"
DANTE_INITD_PATH="/etc/init.d/sockd"
GRC="$(which grc)"
if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
alias colourify="$GRC -es --colour=auto"
alias blkid='colourify blkid'
alias configure='colourify ./configure'
alias df='colourify df'
alias diff='colourify diff'
alias docker='colourify docker'
alias docker-machine='colourify docker-machine'
alias du='colourify du'
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080