commit dea9d3db496511eef82cd25864e47a7e4cc3f20a
parent bc92e4e13a7f3f7684295e8ea4b845ab7e214e6f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 3 Aug 2017 16:45:37 +0200
New programs
Anythingtogif - converts anything to a gif file
csfscrape - can scrape and download cloudflare-protected sites
topdf - uses cupsfilter to convert to pdf (works on docx)
upx.out - fix for CORE kgen
Diffstat:
5 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/anythingtogif b/anythingtogif
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+palette="/tmp/palette.png"
+
+filters="fps=15,scale=0:-1:flags=lanczos"
+
+ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
+ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
diff --git a/modified_cfscrape.py b/modified_cfscrape.py
@@ -0,0 +1,6 @@
+import cfscrape, sys
+scraper=cfscrape.create_scraper()
+url=sys.argv[1]
+cfurl = scraper.get(url).content
+name = url.split('/')[-1].replace("$20", "")
+with open(name, 'wb') as f: f.write(cfurl)+
\ No newline at end of file
diff --git a/topdf b/topdf
@@ -0,0 +1,8 @@
+#!/bin/bash
+for f in "$@"
+do
+ filePathNoExtension="${f%.*}"
+ textutil -convert html -output "$filePathNoExtension.html" "$f"
+ cupsfilter "$filePathNoExtension.html" > "$filePathNoExtension.pdf"
+ rm "$filePathNoExtension.html" > /dev/null
+done+
\ No newline at end of file
diff --git a/upx.out b/upx.out
Binary files differ.
diff --git a/upx.out_README b/upx.out_README
@@ -0,0 +1,2 @@
+Fixes a fucked CORE keygen. Check Info.plist in bundle. If the version is lower than system version, and the crash log says "UPX compressed binary"
+Just run `upx.out -d $coreKeygenBinaryPath` and you good.+
\ No newline at end of file