A curated list of awesome Python frameworks, libraries, software and resources.
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 | |
| if not sys.version.startswith('3'): | |
| print('\n[-] This script will only work with Python3. Sorry!\n') | |
| exit() | |
| import subprocess | |
| import os |
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
| <?php | |
| const PASSPHRASE = ''; // use 'openssl rand -hex 32' to generate key, same with python | |
| function encrypt(array $data): string | |
| { | |
| $data_json_64 = base64_encode(json_encode($data)); | |
| $secret_key = hex2bin(PASSPHRASE); | |
| $iv = openssl_random_pseudo_bytes(openssl_cipher_iv_length('aes-256-gcm')); | |
| $tag = ''; | |
| $encrypted_64 = openssl_encrypt($data_json_64, 'aes-256-gcm', $secret_key, 0, $iv, $tag); |
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
| 2fd6cemt4gmccflhm6imvdfvli3nf7zn6rfrwpsy7uhxrgbypvwf5fad.onion <-- ExcavaTOR (one of my favorite search engines) | |
| tor66sewebgixwhcqfnp5inzp5x5uohhdy3kvtnyfxc2e5mxiuh34iid.onion <- Tor66 fairly decent search engine gives good results but not the best | |
| 3bbad7fauom4d6sgppalyqddsqbf5u5p56b5k5uk2zxsy3d6ey2jobad.onion <-- OnionLand search engine (gives very good results) | |
| xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion <- TORCH one of the oldest search engines around on TOR | |
| kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion <-- Imperial Library of Trantor (good place to find free Ebooks) |
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/local/bin/python3 | |
| import argparse | |
| import subprocess | |
| import itertools | |
| parser = argparse.ArgumentParser(description='Concatenate videos with FFMPEG, add "xfade" between segments.') | |
| parser.add_argument('--segments_file', '-f', metavar='Segments file', type=str, nargs=1, | |
| help='Segments text file for concatenating. e.g. "segments.txt"') |
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
| var pljssglobal = []; | |
| var pljssglobalid; | |
| if (window['PlayerjsAsync']) { | |
| setTimeout(PlayerjsAsync, 1) | |
| }; | |
| function Playerjs(options) { | |
| var o = { | |
| play: false, | |
| audiosrc: [], |
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
| # you can copy paste and run this code for test | |
| from PyQt5.QtGui import * | |
| from PyQt5.QtCore import * | |
| from PyQt5.QtWidgets import * | |
| import sys | |
| class window(QMainWindow): | |
| def __init__(self): | |
| super(window, self).__init__() | |
| listWidget = QListWidget() | |
| listWidget.resize(300,120) |
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
| # Simplified version and explanation at: https://stackoverflow.com/a/64439347/12866353 | |
| import os | |
| import ffmpeg | |
| def compress_video(video_full_path, size_upper_bound, two_pass=True, filename_suffix='cps_'): | |
| """ | |
| Compress video file to max-supported size. | |
| :param video_full_path: the video you want to compress. | |
| :param size_upper_bound: Max video size in KB. |
- Dissecting Go Binaries
- Go: Overview of the Compiler
- Go compiler internals: adding a new statement to Go - Part 1
- Go compiler internals: adding a new statement to Go - Part 2
- Reversing GO binaries like a pro
- How a Go Program Compiles down to Machine Code
- Analyzing Golang Executables
- Go Reverse Engineering Tool Kit
- go-internals book
- [Reconstructing Program Semantics from Go Binaries](http://home.in.tum.de/