Skip to content

Instantly share code, notes, and snippets.

@Pymmog
Pymmog / aliases
Created December 1, 2019 16:06
Useful aliases
alias npmclean="rm -rf node_modules/ && rm -f package-lock.json && npm install"

Find security issues with Google

examples

FTP Server

intitle:"index of" inurl:ftp after:2018

log files with Passwords

allintext:password filetype:log after:2018

public .env files

@Pymmog
Pymmog / youTubeParser.js
Last active May 11, 2020 07:34
YouTube Url Parser
const youtubeParser = (url) => {
const regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;
const match = url.match(regExp);
return match && match[7].length === 11 ? match[7] : false;
};
@Pymmog
Pymmog / setup.md
Last active May 13, 2024 15:24
Setup