Skip to content

Instantly share code, notes, and snippets.

@noname1007
noname1007 / etc-network-interfaces
Created May 27, 2024 07:15 — forked from yohangdev/etc-network-interfaces
Proxmox single IP public with bridge/local network (NAT)
# source: https://raymii.org/s/tutorials/Proxmox_VE_One_Public_IP.html
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 163.172.103.199
netmask 255.255.255.0

Oh my zsh.

Oh My Zsh

Install.

sh -c "$(curl -fsSL https://gist.githubusercontent.com/noname1007/6eb89f647b2dc4bfbeab499686b823ed/raw/cfff789166c7922bc6cc13f509cfbfcbb7f37628/install-omz.sh)"

Install ZSH.

@noname1007
noname1007 / encoded-20201212150102.txt
Created November 30, 2023 14:00 — forked from thegreatestminer/encoded-20201212150102.txt
MobaXTerm Professional x64 License Key [READ COMMENTS]
UEsDBBQAAAAIABNQjFGCf/GfLgAAACwAAAAHAAAAUHJvLmtleTMqdncpCXQOKDAp9woMzEo1MTVOrHAzTjTLME7VNs1LK8owTjQpcU8tcuLlAgBQSwECFAAUAAAACAATUIxRgn/xny4AAAAsAAAABwAAAAAAAAAAAAAAAAAAAAAAUHJvLmtleVBLBQYAAAAAAQABADUAAABTAAAAAAA=
> * Go to [hexed.it](https://hexed.it/)
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)**
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1
> * Click "Find next" then "Replace"
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9
> * Click "Save as" then name it: sublime_text
> * Copy your modified sublime_text.exe to directory Sublime Text
How to install windows on digital ocean,
use this tutorial :
https://milankragujevic.com/how-to-install-windows-10-on-digitalocean
or if you want to create own image :
https://glitchwitch.io/blog/2018-09/windows-10-on-digitalocean/
this image .gz mirror got from whatuptime :
try first if it working>>
[Microsoft Windows Server 2012]
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
wagoodman/dive:latest debian
## RUN MACOS
brew install dive
docker run -it --privileged --rm --pid=host debian nsenter -t 1 -m -u -n -i sh
cd /var/lib/docker/overlay2
find . -name shell
##LINUX
@noname1007
noname1007 / Tmux-Sesion.bashrc
Created March 26, 2023 10:09
Tmux-Sesion.bashrc
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
tmux attach-session -t $USER || tmux new-session -s $USER
fi
@noname1007
noname1007 / banned.sh
Created March 20, 2023 13:28
Blocks Shodan, Zoomeye, Censys IPs From Scanning Your Servers.
#!/bin/bash
if [ ! -x "/usr/bin/whois" ]; then
echo "whois must be installed at /usr/bin/whois"
exit 2
elif [ $# -ne 1 ]; then
echo "Usage $0 [ASN #]"
exit 1
elif ! [ $1 -eq $1 ] 2> /dev/null; then
echo "ASN must be a number"
@noname1007
noname1007 / antiautosploit.py
Last active April 13, 2023 09:22
Blocks Shodan, Zoomeye, Censys IPs From Scanning Your Servers.
#!/usr/bin/python3
import os
shodan = [
"167.94.145.0/24", "167.94.146.0/24", "167.248.133.0/24",
"199.45.155.0/24", "199.45.154.0/24", "162.142.125.0/24", "167.94.138.0/24", # Censys
"104.131.0.69", "104.185.10.217", "104.236.198.48", "155.94.222.12", "155.94.254.133", "155.94.254.143", "159.203.176.62",
"162.159.244.38", "185.163.109.66", "185.181.102.18", "188.138.9.50", "198.20.69.74", "198.20.69.98", "198.20.70.114", "198.20.87.98",
"198.20.99.130", "208.180.20.97", "209.126.110.38", "216.117.2.180", "66.240.192.138", "66.240.219.146", "66.240.236.119", "71.6.135.131",
"71.6.146.185", "71.6.146.186", "71.6.158.166", "71.6.165.200", "71.6.167.142", "80.82.77.139", "80.82.77.33", "82.221.105.6", "82.221.105.7",