A cli based snake game written in Python

Things that I learned in this project: OOP in Python. Clean code. The curses library. How to run the game You need to clone this project and run the run.py file, in src/ folder, with the python interpreter. git clone https://github.com/kevinmarquesp/snake_game cd snake_game/src ./run.py # OR: python3 run.py About the game You can move the snake with arrow keys, vim keys (H, J, K, L) and WASD. Space, Return and O keys do the same thing, they are the confirm […]

Read more

Python Wrapper for interacting with the Flutterwave API

from python_flutterwave import payment payment.token = ‘YOUR_SECRET_KEY’ uri = payment.initiate_payment(tx_ref=”qwerty”, amount=100, redirect_url=’your_callback_url’, payment_options=’mpesa’, customer_email='[email protected]’, customer_phone_number=’0123456789′, currency=’KES’, customer_name=’John Doe’, title=’Demo Payment’, description=’Just pay me…’) print(uri) details = payment.get_payment_details(transaction_id)    

Read more

A small module for creating a card deck, used for making card games

Version 2.0.0 A library used for creating a card deck, which provides useful classes and methods for a user who wants to create card games. Installation Use the package manager pip to install this package: Usage Start by importing Deck and Hand from akeuroo-deck: from akeuroo_deck import Deck, Hand Instantiate the Deck like the following: There are two classes you can use, Deck and Hand, the following information will be about them: Deck has two methods, which are draw and […]

Read more

A Fast Proxy Checker In Python

The World’s Most Fastest Proxy Checker In Python, Maybe?! Features Based on Python 3.7+ Save Valid Porixes into the custom file Multi-Thread Fully Asynchronous Supported Proxy Types: HTTP – SOCKS4 – SOCKS5 Customize Connection Timeout Customize Process Timeout (to Avoid freezing) Test All Proxies with https://google.com Quick start

Read more

Predict the stock market with AI

The Oracle is a Python library that uses several AI prediction models to predict stocks returns over a defined period of time. It was firstly introduced in one of my previous package called Empyrial. Disclaimer: Information is provided ‘as is’ and solely for informational purposes, not for trading purposes or advice. How to install 📥 How to use 💻

Read more

Implementation of an attack on a tropical algebra discrete logarithm based protocol

This code implements the attack detailed in the paper: On the tropical discrete logarithm problem and security of a protocol based on tropical semidirect product Any Muanalifah, Sergei Sergeev Which can be found at:https://eprint.iacr.org/2021/040.pdf The script “iacr2021040.py” taken an optional argument specifying the dimension of the public matrix to generate. If not specified, it uses dimension 100. It is highly reccomended to run the script using PyPy. GitHub View Github    

Read more

MS-FSRVP coercion abuse PoC

MS-FSRVP coercion abuse PoC Credits: Gilles LIONEL (a.k.a. Topotam)Source: https://twitter.com/topotam77/status/1475701014204461056 Explanation: https://www.thehacker.recipes/ad/movement/mitm-and-coerced-authentications/ms-fsrvp MS Docs: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp/dae107ec-8198-4778-a950-faa7edad125b “File Server VSS Agent Service” needs to be enabled on the target server. shadowcoerce.py -d “domain” -u “user” -p “password” LISTENER TARGET In my tests, the coercion needed to be attempted twice in order to work when the FssAgent hadn’t been requested in a while. TL;DR: run the command twice if it doesn’t work. GitHub View Github    

Read more

Minecraft Multi-Server Pinger Discord Embed

Minecraft Multi-Server Pinger Discord Embed What does this bot do?It sends an embed and uses mcsrvstat API and checks if the list of your servers are online or notOnce it sends the embed, it will store the message ID, and edits the embed once refreshes. You can store an array of servers and asks it whether to get player number or not,Good for monitoring Minecraft networks. How to host yourself?Edit the config.json file and enter your detailsEdit the main.py file […]

Read more

Monitoring plugin for MikroTik devices for Icinga/Nagios/

This is a monitoring plugin for Icinga, Nagios and other compatible monitoring solutions to check MikroTik devices running RouterOS.It uses the API to fetch the required information. Requirements Installation PIP If you want to use pip we recommend to use as virtualenv to install the dependencies. pip install -r requirements.txt Copy the script check_routeros.py into your plugin directory. Debian/Ubuntu Install the required packages sudo apt-get install python3 python3-click python3-librouteros python3-nagiosplugin Copy the script check_routeros.py into your plugin directory. Usage To […]

Read more
1 304 305 306 307 308 935