A streaming wrapper around python tarfile and allow secure handling files and support encryption

Secure Tarfile library It’s a streaming wrapper around python tarfile and allow secure handling files and support encryption. with SecureTarFile(“test.tar”, “w”) as tar_file: atomic_contents_add( tar_file, temp_orig, excludes=[], arcname=”.”, ) with SecureTarFile(“test.tar”, “w”, b”AES128_KEY_SIZE”) as tar_file: atomic_contents_add( tar_file, temp_orig, excludes=[], arcname=”.”, ) GitHub View Github    

Read more

Start and stop your NiceHash miners using this script

Use this script to schedule all of your NiceHash Miner(s) to turn on and off at certain times of the day. Electricity costs between 4-9pm are high in my area and I want NiceHash to stop mining during those times. This script should start and stop your rigs on a schedule. Setting up this scheduling process could take up to 1 hour depending on your skill level Installation Acquire the necessary files by downloading the latest release. Save and extract […]

Read more

A Python package which supports global logfmt formatted logging

A Python package which supports global logfmt formatted logging. Install $ pip install logfmter Usage Before integrating this library, you should be familiar with Python’s loggingfunctionality. I recommend reading the Basic LoggingTutorial. This package exposes a single Logfmter class that can be integrated intothe standard library logging system similar to any logging.Formatter. The provided formatter will logfmt encode all logs. Key value pairs are providedvia the extra keyword argument or by passing a dictionary as the log message. Basic import […]

Read more

API that provides Wordle (ES) solutions in JSON format

API that provides Wordle (ES) solutions in JSON format. From 2022-01-07 to 2023-09-15. Game URL: https://wordle.danielfrg.com/ Usage curl https://wordle-solutions.herokuapp.com/ Examples: curl https://wordle-solutions.herokuapp.com/ # Returns all solutions curl https://wordle-solutions.herokuapp.com/2022-02-06 # Returns solution of the day Recommendation: use jq to parse. Why? Weekend project. Unlike original Wordle version, solutions are (client-side) encrypted. Seemed funny to script. Future work (not me) Maybe a front-end? Disclaimer Crappy code. GitHub – alvarontwrk/wordle-solutions at pythonawesome.com API that provides Wordle (ES) solutions in JSON format. – GitHub […]

Read more

Start and manage your Minecraft server from a Discord bot

Do you want a Discord Bot to start your Minecraft server? This program will help you do just that! Features This script starts your Minecraft server and shuts it down too! It also shuts down the server when it’s inactive. Commands There are 6 commands that can be used by anyone: /start will start the Minecraft server if it’s not already running. /stop will shut down the Minecraft server if no players are online. /info will give you the server […]

Read more

A simple account generator not using paid solving services

Star this if it helped to spread awareness! No 2captcha, or any solving services, 100% free This is a fork/mix of dhirk07’s 5 letter sniper, and roblox-thot‘s captchaCodeMakerv2You solve the captcha, then get the code from this site by roblox-thot, afterwards it outputs the generated accounts to a file with the name of “out.txt” in user:pass:cookie format. Python3 with pip installed. That’s all. pip install -r requirements.txt python3 gen.py DO NOT BE IDIOTIC AND RE-SELL THIS CODE. GNU General Public […]

Read more

Writeup for the Nightmare CTF Challenge from 2022 DiceCTF

TLDR: One byte write, no leak. Infinite loop through overwrite of binaries link map Determination of useful rop gadget, has to fit several extensive criteria Partial overwrite of DT_JMPREL table pointer Partial overwrite of DT_STRTAB pointer Overwrite of LIBC link map Loop 2-5 until rop chain has been created Partial overwrite of DT_FINI_ARRAYSZ pointer Use 3 & 4 to call exit, to call rop chain Prologue This challenge was extremely difficult and I recommend reading the original author’s writeup to […]

Read more

The simple Text to HTML Converter using Django framework

This is the simple Text to HTML Converter using Django framework. Note:- First for run the “Dependencies.bat” file provided with the repository as it install all the dependencies to run the program. For runnig the program:-Goto to manage.py directory and open Command Prompt and type this command “python manage.py runserver” then it will run your project at http://127.0.0.1:8000 GitHub View Github    

Read more

Library to play with filtering numeric sequences by sums of their pairs, triplets, etc. With a bonus CLI demo

A library to play with filtering numeric sequences by sums of their pairs, triplets, etc. Comes with a bonus CLI to demo the functionality. Requires (and CI tests on) python 3.8 to 3.10.If you need to use python 3.7 then try replacingmath.prod(some_iterable) with functools.reduce(lambda x, y: x * y, some_iterable) Approach We’re thinking of this mostly as a library with the CLI as only for demo purposes.Ways you can see this in the code: logging should really handled by the […]

Read more
1 255 256 257 258 259 978