Skip to content

Instantly share code, notes, and snippets.

@anuragtb
anuragtb / index.js
Created September 1, 2020 13:41 — forked from Dornhoth/index.js
WebRTC with Screen Sharing
(function () {
"use strict";
const MESSAGE_TYPE = {
SDP: 'SDP',
CANDIDATE: 'CANDIDATE',
}
let code;
let peerConnection;
@anuragtb
anuragtb / fabric demo
Created June 21, 2019 17:19 — forked from BrodyCai/fabric demo
Fabric demo for deploying java web application
#coding=utf-8
__author__ = 'brody'
"""
auto deploying java web application
command examples:
fab deploy_live
fab rollback_beta
run 'fab -l' for more
"""
1. Listing AWS bucket content. (Testing for list permission)
Sahils-MacBook-Pro:~ sahil$ aws s3 ls s3://bucket
2. Writing on AWS Bucket. (Testing for write Permission)
Sahils-MacBook-Pro:~ sahil$ aws s3 cp test.txt s3://bucket (Copying test.txt into the bucket with no public file read permission)
Sahils-MacBook-Pro:~ sahil$ aws s3 mv test.txt s3://bucket (Moving test.txt into the bucket with no public file read permission)
Copy test.txt file into the aws s3 bucket with public file read permission.
Basics Filters:
1. City
Example City:New Delhi.
2. Country
Example: Country:INDIA
3. Port
Example:Ports: 8443, 8080, 8180 etc
#Personal alias
#.bashrc file
alias adbf="adb forward tcp:31415 tcp:31415"
alias pt="source ./venv/bin/activate"
alias aa="work/src/github.com/aquatone"
alias convert="/opt/tools/convert.sh"
alias shot="python /Users/sahil/opt/recon/webscreenshot/webscreenshot.py"
alias mobsf="docker run -it -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest"
alias th="trufflehog"
alias goaltdns="goaltdns -w /work/src/github.com/subfinder/goaltdns/words.txt"
_____ _ _ _ __ _______ _____ _____ _ _ _ _
| __ \ | | | | | \ \ / / ___/ ___| / __ \ | | | | | | |
| | \/ |__ ___| |_| |_ ___ \ V /\ `--.\ `--. | / \/ |__ ___ __ _| |_ ___| |__ ___ ___| |_
| | __| '_ \ / _ \ __| __|/ _ \ / \ `--. \`--. \ | | | '_ \ / _ \/ _` | __/ __| '_ \ / _ \/ _ \ __|
| |_\ \ | | | __/ |_| |_| (_) | / /^\ |\__/ /\__/ / | \__/\ | | | __/ (_| | |_\__ \ | | | __/ __/ |_
\____/_| |_|\___|\__|\__|\___/ \/ \|____/\____/ \____/_| |_|\___|\__,_|\__|___/_| |_|\___|\___|\__|
A ghetto collection of XSS payloads that I find to be useful during penetration tests, especially when faced with WAFs or application-based black-list filtering, but feel free to disagree or shoot your AK-74 in the air.
Simple character manipulations.
# Defines Git aliases.
#
# Authors:
# Sorin Ionescu <[email protected]>
_git_status_ignore_submodules='all'
# Git
alias g='git'
@anuragtb
anuragtb / google-dorks
Created April 7, 2019 15:19 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@anuragtb
anuragtb / content_discovery_all.txt
Created April 6, 2019 07:25 — forked from jhaddix/content_discovery_all.txt
a masterlist of content discovery URLs and files (used most commonly with gobuster)
This file has been truncated, but you can view the full file.
`
~/
~
ים
___
__
_