Skip to content

Instantly share code, notes, and snippets.

View fadlank-noer's full-sized avatar
👋

Fadlan Kautsar Noer fadlank-noer

👋
View GitHub Profile
@fadlank-noer
fadlank-noer / compare.sh
Created February 13, 2025 11:01
Compare RSA Private Key with Public Key
## Generate Public Key from Private Key
openssl rsa -in priv.pem -pubout -out pub.pem
## Compare with Downloaded Pub Key
diff pub.pem downloaded_pub.pem
@fadlank-noer
fadlank-noer / shallow.sh
Created February 5, 2025 15:41
Git Shallow Clone
## Clone with depth
git clone --depth=50 --branch master https://my.repo
# Store the hash of the oldest commit (ie. in this case, the 50th) in a var
## This one used for defining Initial Commit
START_COMMIT=$(git rev-list master|tail -n 1)
git checkout $START_COMMIT
# Create a new orphaned branch, which will be temporary
git checkout --orphan temp_branch
@fadlank-noer
fadlank-noer / GoogleDorking.md
Created July 28, 2024 08:18 — forked from ikuamike/GoogleDorking.md
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"