Skip to content

Instantly share code, notes, and snippets.

View storenth's full-sized avatar

Kirill Zhdanov storenth

View GitHub Profile
// This injects a box into the page that moves with the mouse;
// Useful for debugging
async function installMouseHelper(page) {
await page.evaluateOnNewDocument(() => {
// Install mouse helper only for top-level frame.
if (window !== window.parent)
return;
window.addEventListener('DOMContentLoaded', () => {
const box = document.createElement('puppeteer-mouse-pointer');
const styleElement = document.createElement('style');
@storenth
storenth / server.py
Created November 22, 2022 15:06 — forked from davidbgk/server.py
An attempt to create the simplest HTTP Hello world in Python3
import http.server
import socketserver
from http import HTTPStatus
class Handler(http.server.SimpleHTTPRequestHandler):
def do_GET(self):
self.send_response(HTTPStatus.OK)
self.end_headers()
self.wfile.write(b'Hello world')
@storenth
storenth / axiom_config.sh
Created January 25, 2022 15:25 — forked from six2dez/axiom_config.sh
axiom_config.sh
#!/bin/bash
# Use this as initial axiom's script on reconftw.cfg file to copy config files to the fleet
axiom-scp ~/Tools/authorized_keys '*':/home/op/.ssh/authorized_keys
axiom-exec 'mkdir -p /home/op/.config/amass/ /home/op/Tools/ /home/op/.config/subfinder/ /home/op/.config/notify/'
axiom-scp ~/.config/amass/config.ini '*':/home/op/.config/amass/config.ini
axiom-scp ~/Tools/h8mail_config.ini '*':/home/op/Tools/h8mail_config.ini
axiom-scp ~/.config/subfinder/config.yaml '*':/home/op/.config/subfinder/config.yaml
axiom-scp ~/Tools/.github_tokens '*':/home/op/Tools/.github_tokens
@storenth
storenth / h3-server-howto.md
Created December 21, 2021 15:53 — forked from bagder/h3-server-howto.md
Setup a local HTTP/3 test server to toy with

Setup a local HTTP/3 test server to toy with

... and run curl against it.

This is not advice on how to run anything in production. This is for development and experimenting.

Preqreqs

An existing local HTTP/1.1 server that hosts files. Preferably also a few huge ones.

@storenth
storenth / subdomains.txt
Created December 8, 2021 16:39 — forked from six2dez/subdomains.txt
subdomains.txt
This file has been truncated, but you can view the full file.
0
001
002
003
01
02
03
1
2
2014
@storenth
storenth / JavascriptRecon.md
Created July 12, 2021 13:56
My Javascript Recon Process - BugBounty

Description

This is a simple guide to perform javascript recon in the bugbounty

Steps

  • The first step is to collect possibly several javascript files (more files = more paths,parameters -> more vulns)
@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.
.
..
........
@
*
*.*
*.*.*
🐎
@storenth
storenth / gist:2bf8894fce2beda036b8b084511dbb0b
Created November 5, 2019 03:42 — forked from lttlrck/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
@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 / 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 {