Skip to content

Instantly share code, notes, and snippets.

View shagunattri's full-sized avatar
🔨

shagun shagunattri

🔨
View GitHub Profile
@harish-r
harish-r / Binary Search Tree.cpp
Last active January 7, 2024 16:30
Binary Search Tree Implementation in C++
/*
** Binary Search Tree implementation in C++
** Harish R
*/
#include<iostream>
using namespace std;
class BST {
struct node {
@dogrocker
dogrocker / Wireless Penetration Testing Cheat Sheet.md
Created July 2, 2016 18:30
Wireless Penetration Testing Cheat Sheet

#Wireless Penetration Testing Cheat Sheet

##WIRELESS ANTENNA

  • Open the Monitor Mode
root@uceka:~# ifconfig wlan0mon down
root@uceka:~# iwconfig wlan0mon mode monitor
root@uceka:~# ifconfig wlan0mon up
@ZetaTwo
ZetaTwo / tools.md
Last active February 12, 2024 11:11
CTF/Hacking tools - Tools I use for security related work

General purpose

Terminator - Terminal emulator
zsh - My shell of choice prezto - Configuration management for zsh

Editors

010 Editor - Hex editor
VSCode - Text editor

Low-level reversing

@TarlogicSecurity
TarlogicSecurity / kerberos_attacks_cheatsheet.md
Created May 14, 2019 13:33
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module:

@sundowndev
sundowndev / GoogleDorking.md
Last active June 20, 2024 21:53
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@jifunks
jifunks / pwnmedium.user.js
Last active July 13, 2020 18:24
Medium.com uses design and typography to legitimize ideas that might not deserve legitimacy. This script kills Medium's design so that critical thinking takes precedence over eye candy.
// ==UserScript==
// @name Remove Legitimacy From Medium
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Medium.com frames everyone's opinions in a way that gives them legitimacy in the subconscious. In reality, they are no more than blog posts. This script serves to strip any form of nice styling or legitimacy from Medium posts, and encourage critical thinking.
// @author Jake Funke
// @match medium.com/*
// @include https://*.medium.com/*
// @grant GM_addStyle
// @run-at document-idle
# Luke's config for the Zoomer Shell
# Enable colors and change prompt:
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
@dwisiswant0
dwisiswant0 / st8out.sh
Last active February 17, 2024 16:48
St8out - Extra one-liner for reconnaissance
#!/bin/bash
#####
#
# St8out - Extra one-liner for reconnaissance
#
# Usage: ./st8out.sh target.com
#
# Resources:
# - https://github.com/j3ssie/metabigor
# Weather curl
function weather {
if [ -z "$1" ]; then
location="YOUR DEFAULT LOCATION HERE"
else
location=$1
fi
[ ! -d ~/.cache/weather ] && \
mkdir ~/.cache/weather
@atikrahman1
atikrahman1 / TomNomNom_Q&A_INTIGRITI.txt
Created May 8, 2020 18:09
LIVE MENTOR SESSION: @tomnomnom . I have collected all of the the question and answer in comments section for my later read.
INTIGRITI
@intigriti
Red circleLIVE MENTOR SESSION:
@TomNomNom
will answer your #BugBounty and tooling questions for the next 4 hours! Comment with your question!
https://twitter.com/intigriti/status/1258729529859768320
Question from @amalmurali47 :