- Instrumentation
- Binary analysis
- 010 Editor - Professional Text/Hex Editor with Binary Templates
Local transparent proxy
From https://wiki.archlinux.org/index.php/User:Grawity/Adding_a_trusted_CA_certificate
Currently Arch Linux uses p11-kit from Fedora, which has more features (e.g. explicit distrusts) than the older scripts from Debian. To import a trust anchor using p11-kit, do:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Moved to https://github.com/olivierlemoal/i3-swap-focus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Wine wrapper | |
| # - Create new prefix with custom wine version | |
| # - Custom Wine options | |
| # - Install/remove DXVK/D9VK | |
| # - Support winetricks | |
| ## Wrapper options | |
| WINE_PATH="/home/user/.local/share/lutris/runners/wine/" | |
| WINE_VERSION="lutris-5.0-x86_64" | |
| export WINEPREFIX="/path/to/prefix" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Configure proxy | |
| $ wine control | |
| > Paramètres internet > Connections | |
| # Add certificate | |
| > Paramètres internet > Contenu > Editeurs > Importer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Opensubtitles Fake Extension | |
| // @version 1 | |
| // @match *://www.opensubtitles.org/* | |
| // @match *://www.opensubtitles.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| var meta = document.createElement('meta'); | |
| meta.name = "accesslevel"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iptables -t mangle -I PREROUTING -m policy --pol ipsec --dir in -j NFLOG --nflog-group 5 | |
| iptables -t mangle -I POSTROUTING -m policy --pol ipsec --dir out -j NFLOG --nflog-group 5 | |
| tcpdump -s 0 -n -i nflog:5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| import time | |
| IP = "127.0.0.1" | |
| PORT = 9220 | |
| def receiv(): | |
| data = None | |
| try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| {"keys": ["ctrl+:"], "command": "toggle_comment", "args": { "block": false } }, | |
| {"keys": ["ctrl+shift+:"], "command": "toggle_comment", "args": { "block": true } }, | |
| { "keys": ["ctrl+space"], "command": "auto_complete" }, | |
| { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context": | |
| [ | |
| { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" }, | |
| { "key": "auto_complete_visible", "operator": "equal", "operand": false }, | |
| { "key": "setting.tab_completion", "operator": "equal", "operand": true } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python3 | |
| import sys | |
| import os | |
| from path import path | |
| if len(sys.argv) < 2: | |
| print("Usage : {} path".format(sys.argv[0])) | |
| exit(1) | |
| path = path(sys.argv[1]) |