Skip to content

Instantly share code, notes, and snippets.

@Hipnosis183
Hipnosis183 / stripzip.py
Created February 9, 2025 05:01
Remove Metadata from ZIP Files
# Based on https://github.com/thypon/python-stripzip
import mmap
import os
import sys
from struct import Struct
# Remove zip metadata.
def zip_strip(zip):
# Remove extra data.
def remove_extra(mm, offset, length, compressed_size = 0):
@Hipnosis183
Hipnosis183 / xls2xlsx.py
Last active January 29, 2025 20:38
XLS to XLSX Converter
import os
import sys
from datetime import datetime
# pip download openpyxl xlrd
sys.path.append('./et_xmlfile.whl')
sys.path.append('./openpyxl.whl')
sys.path.append('./xlrd.whl')
from openpyxl import Workbook
import xlrd
@Hipnosis183
Hipnosis183 / s3-downloader.py
Last active November 21, 2024 22:52
Amazon S3 Bucket - Files Downloader
# Requires Boto3 package.
# pip install boto3
import boto3
import botocore
import os
import sys
# Initialize S3 client without credentials.
s3 = boto3.client('s3', config=boto3.session.Config(signature_version=botocore.UNSIGNED))
@Hipnosis183
Hipnosis183 / !xdu-downloader.js
Created January 27, 2024 20:29
Symphogear XD Unlimited - Assets Downloader
// Requires NPM package 'node-fetch'.
// npm install node-fetch@2
const fetch = require('node-fetch');
const fs = require('fs');
const http = require('http');
const util = require('util');
const pipeline = util.promisify(require('stream').pipeline);
// Import file list.
let filesGot = 0;
@Hipnosis183
Hipnosis183 / ar-localidades.js
Last active November 21, 2024 22:49
Obtener localidades de Correo Argentino
// Código basado en 'localidades_AR' por androdron.
// https://github.com/androdron/localidades_AR
// Requiere el paquete de NPM 'node-fetch'.
// npm install node-fetch@2
const fetch = require('node-fetch');
const fs = require('fs');
const http = require('http');
const util = require('util');
const pipeline = util.promisify(require('stream').pipeline);
@Hipnosis183
Hipnosis183 / !mf-downloader.js
Created December 28, 2023 14:23
Maika Fantasia - Asset Downloader
// Requires NPM package 'node-fetch'.
// npm install node-fetch@2
const fetch = require('node-fetch');
const fs = require('fs');
const http = require('http');
const util = require('util');
const pipeline = util.promisify(require('stream').pipeline);
// Import file list.
let filesGot = 0;
@Hipnosis183
Hipnosis183 / !mvo-downloader.js
Created August 26, 2023 09:23
Million Versus Online - Asset Downloader
// Requires NPM package 'node-fetch'.
// npm install node-fetch@2
const fetch = require('node-fetch');
const fs = require('fs');
const http = require('http');
const util = require('util');
const pipeline = util.promisify(require('stream').pipeline);
// Import file list.
let filesGot = 0;
@Hipnosis183
Hipnosis183 / !fool-key.html
Created May 8, 2023 16:48
The Fool and his Money - Keygen and Decompilation
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FoolKey</title>
</head>
@Hipnosis183
Hipnosis183 / !cao-downloader.js
Last active December 29, 2023 12:20
Celes Arca Online - Asset Downloader
// Requires NPM package 'node-fetch'.
// npm install node-fetch@2
const fetch = require('node-fetch');
const fs = require('fs');
const http = require('http');
const util = require('util');
const pipeline = util.promisify(require('stream').pipeline);
// Import file lists.
const filesRes1 = require('./netres.json');
@Hipnosis183
Hipnosis183 / !msd-downloader.js
Last active March 1, 2024 09:19
Metal Slug Defense - Asset Downloader
// Requires NPM package 'node-fetch'.
// npm install node-fetch@2
const fetch = require('node-fetch');
const fs = require('fs');
const http = require('http');
const util = require('util');
const pipeline = util.promisify(require('stream').pipeline);
// Import file list.
let filesGot = 0;