Skip to content

Instantly share code, notes, and snippets.

View Anon-Exploiter's full-sized avatar
🎯
Making Memes & writing code :)

Syed Umar Arfeen Anon-Exploiter

🎯
Making Memes & writing code :)
View GitHub Profile
@ECHO OFF & SETLOCAL EnableDelayedExpansion
TITLE WinPEAS - Windows local Privilege Escalation Awesome Script
COLOR 0F
CALL :SetOnce
REM :: WinPEAS - Windows local Privilege Escalation Awesome Script
REM :: Code by carlospolop; Re-Write by ThisLimn0
REM Registry scan of other drives besides
REM /////true or false
@Anon-Exploiter
Anon-Exploiter / PowerView-3.0-tricks.ps1
Created November 5, 2022 09:41 — forked from HarmJ0y/PowerView-3.0-tricks.ps1
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set
@Anon-Exploiter
Anon-Exploiter / .zshrc
Created November 5, 2022 00:36
Kali Linux 2022.3 (zshrc file)
# ~/.zshrc file for zsh interactive shells.
# see /usr/share/doc/zsh/examples/zshrc for examples
setopt autocd # change directory just by typing its name
#setopt correct # auto correct mistakes
setopt interactivecomments # allow comments in interactive mode
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’
setopt nonomatch # hide error message if there is no match for the pattern
setopt notify # report the status of background jobs immediately
setopt numericglobsort # sort filenames numerically when it makes sense
@Anon-Exploiter
Anon-Exploiter / x-forwarded-for
Created October 26, 2022 04:45
Copied from somewhere, change them ips
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
@Anon-Exploiter
Anon-Exploiter / .tmux.conf
Created April 28, 2022 00:01
Tmux dotfile
# binding Ctrl + b to Ctrl + A
set -g prefix ^a
# Set Colors
set -g status-bg black
set -g status-fg white
# setting history command buffer
set -g history-limit 200000000
set -g allow-rename off
# Set window notifications
setw -g monitor-activity on
@Anon-Exploiter
Anon-Exploiter / squid.conf
Created April 27, 2022 23:58
Squid configuration file (for setting up proxy server)
# apt-get install squid apache2-utils
# htpasswd -c /etc/squid/.htpasswd user_name
# systemctl restart squid
acl CONNECT method CONNECT
# line 989: add follows for Basic auth
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/.htpasswd
auth_param basic children 5
auth_param basic realm Squid Basic Authentication
@Anon-Exploiter
Anon-Exploiter / getSTSToken.py
Created January 7, 2022 07:08
Get STS token returned with export AWS_={key}
#!/usr/bin/python3
from sys import argv
from os import popen
import json
import argparse
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
@Anon-Exploiter
Anon-Exploiter / decode.py
Created April 10, 2021 14:33
Just decode it! :|
#!/usr/bin/python3
from codecs import encode
import base64
import argparse
import re
import pycipher
# pycipher import Atbash