Skip to content

Instantly share code, notes, and snippets.

@novopact
novopact / 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;
};

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

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