Skip to content

Instantly share code, notes, and snippets.

View storenth's full-sized avatar

Kirill Zhdanov storenth

View GitHub Profile
@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)
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
@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 / 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 / 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 / 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')
// 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');