/Abandoned-PHP-Scripts

Old PHP CLI Scripts I abandoned some time ago. For educational purposes.

Primary LanguagePHP

This directory contains various abandoned PHP CLI scripts I wrote back in the past to solve certain problems I faced. These are examples on what problems could be solved by writting PHP CLI scripts and should be used for educational purposes only.

==========================
Tools decription
==========================

Bitcoin Core TX Creator (old API) - used to create and send RAW transaction using old Bitcoin Core API. It was used to send transactions with custom Fee. As newer Bitcoin Core versions use REST API and have Fee management added, this tool is obsolete and may no longer work with such versions.

Check IPs for proxy mark - Tool to automatically check IP ranges for Proxy mark. It used certain external service to analyze returned HTML data and return if given IP is marked as Proxy Service.

DCPB Encoder Decoder - Tool used to convert files from certain NDS game to be easly translated in Text Editor and then converted back into original format while maintaining correct offset/length structure.

Gz2zip (PHP) - Tool to convert Gz files into ZIP format (no recompression involved). This was later rewritten as closed source in C language.

MSB Encode Decode - Tool used to convert files from certain NDS game to be easly translated in Text Editor and then converted back into original format while maintaining correct offset/length structure.

Nginx Access Log unqiue IPS counter - Simple tool for counting unique IPs in Nginx' access log file.

NIDX Encoder Decoder - Tool used to convert files from certain NDS game to be easly translated in Text Editor and then converted back into original format while maintaining correct offset/length structure.

PNG ZIP Orimization Stuff - Tools to automate certain ZIP/PNG optimizations using external programs I used long time ago to analyze final results.

Recover files from CD - Tool to try to recover parts of readable data from scratched optical disk. Depending on a hardware it's run on, it may or may not work properly.

Simple Lottery Simulators - Simple tools for lottery winning calculations I wrote for fun.

Video Drop Detector (PHP) - Tool to analyze ffprobe data to detect video drops in flv formats generated by certain digital video recording devices.  This was later rewritten as closed source in C language.

Zip2gz (PHP) - Tool to convert first file in ZIP format into GZ file (no recompression involved). This was later rewritten as closed source in C language.

Zip2zlib (PHP) - Tool to convert first file in ZIP format into Zlib file (no recompression involved). This was later rewritten as closed source in C language.

Zlib2png (PHP) - Tool to convert Zlib file into PNG file that would be original PNG file optimized data with tools like Zopfli/Kzip (no recompression involved). This was later rewritten as closed source in C language.



================
DISCLAIMER
================

The code is provided as-is. The author in not responsible for any damage that may arise by using scripts provided. Tools should be used only for educational means.