I hereby claim:
- I am dusekdan on github.
- I am dusekdan (https://keybase.io/dusekdan) on keybase.
- I have a public key ASAl4ufteQh0y0tFaOVvsM9y-yTQYwUVC2IH2D4H2USl4go
To claim this, I am signing this object:
| <?php | |
| header('X-XSS-Protection: 1; mode=block'); | |
| header('X-Content-Type: nosniff'); | |
| header('X-Frame-Options: DENY'); | |
| // If you have sensitive information in any of your URLS, use 'no-referrer' as a value instead) | |
| header('Referrer-Policy: no-referrer-when-downgrade'); | |
| ?> |
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class SecureHeaders | |
| { | |
| // Enumerate headers which you do not want in your application's responses. | |
| // Great starting point would be to go check out @Scott_Helme's: | |
| // https://securityheaders.com/ | |
| private $unwantedHeaderList = [ |
| console.log("whatever"); | |
| eval(document.domain); // oh shit |
I hereby claim:
To claim this, I am signing this object:
| import win32gui | |
| import re | |
| class WindowMgr: | |
| """Encapsulates some calls to the winapi for window management""" | |
| def __init__ (self): | |
| """Constructor""" | |
| self._handle = None | |
| import os | |
| import ctypes | |
| import win32api | |
| w = WindowMgr() | |
| PUL = ctypes.POINTER(ctypes.c_ulong) | |
| class KeyBdInput(ctypes.Structure): | |
| _fields_ = [("wVk", ctypes.c_ushort), | |
| ("wScan", ctypes.c_ushort), |
| """ | |
| Wired Article with embeded web-reader: https://www.wired.com/story/mueller-report-russia-redacted-trump-barr-read/ | |
| How to use this script: | |
| - Python3 & installed requests package (run: 'pip install requests') | |
| - Create "report" folder in the same directory as this script | |
| - run: 'python MuellerReportScraper.py' | |
| """ | |
| import os | |
| import requests |
| # Recursively goes through the TARGET directory and zips files that are | |
| # over SIZE_LIMIT bytes into PART_SIZE_7z parts, deleting the originals. | |
| # | |
| # Uses 7zip utility that needs to be ADDED INTO THE $PATH. | |
| # | |
| # Results in a directory structure that can be pushed into | |
| # the GitHub without issues with oversized files. | |
| import os, sys, subprocess | |
| from time import sleep |
| Stali jste se obětí podvodných praktik firem České Aukce popřípadě Credit Now a morálně zpochybnitelných praktik jejich | |
| zastupující advokátní kanceláře AB Partners (Mgr. Petr Bílý, Mgr. Jan Ambrož)? Využijte tuto šablonu pro email, který | |
| povede na ukončení celé záležitosti. | |
| Níže naleznete šablonu emailu, který zaslat na emailové adresy: | |
| - [email protected] | |
| - [email protected] | |
| Tuto šablonu, ani její části nepovažujte za právní radu. Text šablony si PŘEČTĚTE A UPRAVTE, ABY VAŠE INFORMACE SEDĚLY |
| def ips_in_net(ip='192.168.1.8', subnet='255.255.255.0'): | |
| from ipaddress import ip_address, ip_network | |
| hosts = list(ip_network(f"{ip}/{subnet}", strict=False).hosts()) | |
| return [f"{host}" for host in hosts] |