Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Making Memes & writing code :)

Syed Umar Arfeen Anon-Exploiter

🎯
Making Memes & writing code :)
View GitHub Profile
View PowerView-3.0-tricks.ps1
# 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 Nov 5, 2022
Kali Linux 2022.3 (zshrc file)
View .zshrc
# ~/.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 Oct 26, 2022
Copied from somewhere, change them ips
View x-forwarded-for
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
View .tmux.conf
# 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 Apr 27, 2022
Squid configuration file (for setting up proxy server)
View squid.conf
# 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 Jan 7, 2022
Get STS token returned with export AWS_={key}
View getSTSToken.py
#!/usr/bin/python3
from sys import argv
from os import popen
import json
import argparse
View gist:2b6d8a98a8932061d9aa6238b27b047b
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 Apr 10, 2021
Just decode it! :|
View decode.py
#!/usr/bin/python3
from codecs import encode
import base64
import argparse
import re
import pycipher
# pycipher import Atbash
@Anon-Exploiter
Anon-Exploiter / btc-pricing.py
Created Mar 17, 2021
Get BTC (USD) price/minute in discord server
View btc-pricing.py
# Get USD price of BTC (changing) per minute in your discord server!
# Just replace the webhook_url variable and create a cron as you see fit.
#!/usr/bin/python3
import requests
import json
# BTCPRICE=`curl -s https://api.coindesk.com/v1/bpi/currentprice/USD.json | jp bpi.USD.rate | cut -d '"' -f2`
# JSON="{\"content\": \"Current price of BTC is: **$BTCPRICE** USD\"}"
@Anon-Exploiter
Anon-Exploiter / gob.sh
Created Nov 8, 2020
Gobuster -- variations with different lists
View gob.sh
gobuster dir -w /usr/share/wordlists/dirb/common.txt -u http://10.10.10.37/ -k -l -e -b 404 -t 80
gobuster dir -w /usr/share/wordlists/dirb/big.txt -u http://10.10.10.37/ -k -l -e -b 404 -t 80
gobuster dir -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -u http://10.10.10.37/ -k -l -e -b 404 -t 80
gobuster dir -w /usr/share/wordlists/dirb/big.txt -u http://10.10.10.37/ -x php,jsp,rb,py,js,asp,aspx,zip,sql,tar,txt,key,doc,docx,html,jar,groovy,back,xml,ini,inc,config,json,yml,conf,cgi -k -l -e -b 404 -t 80
gobuster dir -w /usr/share/wordlists/dirb/common.txt -u http://54.164.63.113/ -x php,jsp,rb,py,js,asp,aspx,zip,sql,tar,txt,key,doc,docx,html,jar,groovy,back,xml,ini,inc,config,json,yml,conf,cgi -k -l -e -b 404 -t 80