Skip to content

Instantly share code, notes, and snippets.

View storenth's full-sized avatar

Kirill Zhdanov storenth

View GitHub Profile
@storenth
storenth / compro-p2p.py
Created December 10, 2018 11:21 — forked from Compro-Prasad/compro-p2p.py
P2P client
#!/usr/bin/python3
import socket
import threading
from time import sleep
max_peers = 4
port = 3333
thread_list = []
@storenth
storenth / login_test.scala
Created July 31, 2019 06:37 — forked from alanphil/login_test.scala
Gatling login example and showing how to pull out the HTTP authorization header into a variable
package test
import scala.concurrent.duration._
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
class LoginTest extends Simulation {
@storenth
storenth / puppeteer-prettier.js
Created August 23, 2019 05:20 — forked from jsoverson/puppeteer-prettier.js
Intercept and prettify every script
const puppeteer = require('puppeteer');
const prettier = require('prettier');
const atob = require('atob');
const btoa = require('btoa');
const requestCache = new Map();
const urlPatterns = [
'*'
]
@storenth
storenth / gist:2bf8894fce2beda036b8b084511dbb0b
Created November 5, 2019 03:42 — forked from stuart11n/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
# macOs Catalina setup
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=$HOME/bin:/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:$PATH
export PATH=$HOME/Library/Python/3.7/bin:$PATH
# HACKER TOOLS
export PATH=$HOME//Documents/hackerrank/httprobe:$PATH
# Java
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
# oh-my-zsh custum agnoster theme
# .oh-my-zsh/custom/themes/agnoster.zsh-theme
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
//~/Library/Application Support/Code/User/settings.json
{
"editor.renderWhitespace": "all",
"gitlens.hovers.currentLine.over": "line",
"diffEditor.ignoreTrimWhitespace": false,
"editor.renderControlCharacters": true,
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
@storenth
storenth / all.txt
Created August 12, 2020 05:04 — forked from jhaddix/all.txt
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
0
@storenth
storenth / masscan_nmap
Created December 19, 2020 17:32
Forked from Mastering-Kali-Linux-for-Advanced-Penetration-Testing-Third-Edition
#!/bin/bash
function helptext
{
echo "enter the massnmap with the file input with list of IP address ranges"
}
if [ "$#" -ne 1 ]; then
echo "Sorry cannot understand the command"
helptext>&2
exit 1
elif [ ! -s $1 ]; then