Skip to content

Instantly share code, notes, and snippets.

🎶
Rollin'

Mehul Mohan mehulmpt

🎶
Rollin'
Block or report user

Report or block mehulmpt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mehulmpt
mehulmpt / index.js
Last active Oct 27, 2019
Slow Loris attack using Node
View index.js
const net = require('net')
const opts = {
host: 'localhost',
port: 1234,
sockets: 2000,
respawn: false,
rate: 600,
method: 'GET',
path: '/'
@mehulmpt
mehulmpt / profiles.json
Last active Nov 29, 2019
Sample profiles.json for new Windows Terminal
View profiles.json
{
"defaultProfile": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}",
"initialRows": 30,
"initialCols": 120,
"alwaysShowTabs": true,
"showTerminalTitleInTitlebar": true,
"experimental_showTabsInTitlebar": true,
"profiles": [
{
"guid": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}",
@mehulmpt
mehulmpt / script.sh
Created Nov 17, 2017
Find your page number in Google's Hall of Fame
View script.sh
i=1
name="Mehul" # CHANGE YOUR NAME HERE
while true
do
echo "Running $i"
content=$(wget https://bughunter.withgoogle.com/characterlist/$i -q -O -)
res=$(echo $content | grep -c $name)
if [ $res -eq 1 ]; then
echo "Found at page => $i"
You can’t perform that action at this time.