Skip to content

Instantly share code, notes, and snippets.

View securestep9's full-sized avatar

Sam Stepanyan securestep9

View GitHub Profile
@lrvick
lrvick / github-troll.md
Last active April 22, 2024 09:12
Trolling Github's DMCA repo with their own security flaws.
This file has been truncated, but you can view the full file.
#EXTM3U
#EXTINF:-1 ,Channel T1
http://128.199.212.160/channelt1/1080/index.m3u8
#EXTINF:-1 ,Channel-S
https://a.jsrdn.com/r-373576a3/publish/22679_24MrQma9TX/index.m3u8
#EXTINF:-1 ,NTV (UK Time)
https://a.jsrdn.com/r-373576a1/publish/22680_3BR3zocwi9/index.m3u8
#EXTINF:-1 ,NTV (US Pacific Time)
https://a.jsrdn.com/broadcast/22680_3BR3zocwi9/-0800/c.m3u8
@mgeeky
mgeeky / certbot-wildcard-request.sh
Last active April 15, 2020 16:03
Let's Encrypt certbot command for Wildcard certficate request with CSR happening over DNS
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: ./certbot-wildcard-request.sh <domain-name>"
exit 1
fi
DOMAIN=$1
certbot certonly \
@securestep9
securestep9 / uk_salary_and_tax.csv
Last active January 14, 2020 17:47
uk_salary_and_tax.csv
salary per year monthly in bank p.a. equiv annual tax tax as a % of salary monthly tax
12000 966.32 11595.84 404.16 3.37% 33.68
24000 1654.8 19857.6 4142.4 17.26% 345.2
36000 2334.8 28017.6 7982.4 22.17% 665.2
48000 3014.8 36177.6 11822.4 24.63% 985.2
60000 3611.62 43339.44 16660.56 27.77% 1388.38
72000 4191.62 50299.44 21700.56 30.14% 1808.38
84000 4771.62 57259.44 26740.56 31.83% 2228.38
96000 5351.62 64219.44 31780.56 33.10% 2648.38
108000 5798.29 69579.48 38420.52 35.57% 3201.71
@weeyin83
weeyin83 / resources.md
Last active November 20, 2019 11:45
Deliver value within Azure without spending a penny!
@PrzemekMalak
PrzemekMalak / epub2mp3.py
Last active April 18, 2023 20:30
Converting epub file into mp3 audiobook. Example for my blog post (in Polish) https://abcserverless.pl/polly-zrobi-nam-audiobooka/
import textwrap
from epub_conversion.utils import convert_epub_to_lines, convert_lines_to_text, open_book
import boto3
from contextlib import closing
from pydub import AudioSegment
import os
def split_epub(book_name):
book = open_book(book_name)
@jhaddix
jhaddix / all.txt
Last active April 20, 2024 04:45
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.
.
..
........
@
*
*.*
*.*.*
🐎
@ntanya
ntanya / gist:816cba067f0e0dccc524
Last active April 27, 2021 05:35
Python script to check HTTP status and redirect chains
import requests
def get_status_code(url):
try:
r = requests.get(url)
print "Processing " + url
if len(r.history) > 0:
chain = ""
code = r.history[0].status_code
@sevko
sevko / README.md
Last active November 3, 2021 04:59
Parallel versions of pylint for Python 2 and 3.

pylint+

Developers commonly work on both Python 2 and 3 codebases, so it's desirable to configure the pylint utility to execute against a specific version of the language. Problematically, it relies on the system-wide Python interpreter (for abstract syntax trees, etc.), so simply passing in a flag, like --use-version 3, wouldn't suffice; the solution is to write a thin wrapper script around pylint which executes it with the proper interpreter.

requirements

You must have:

  • python2 in your $PATH
@ldionmarcil
ldionmarcil / gist:144deb40726a3b7c1d66
Last active July 15, 2016 22:09
Proof of concept ZAP wrapper for wpscan
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0