Skip to content

Instantly share code, notes, and snippets.

ObexFTP 0.24.2 (released 2016-04-07)
------------------------------------
* obexfs: Parse XML data with Expat library
* obexfs: Properly encode XML special characters
* obexfs: New option -r to specify root path
* obexfs: New option -S to simulate free space
* Fix probing
* Add support for Gigaset devices
* CMake improvements
@TAbdiukov
TAbdiukov / obexftp_snippet.c
Created January 21, 2021 18:54
obexftp.c latest help from GITLAB code
case 'h':
printf("ObexFTP %s\n", VERSION);
printf("Usage: %s [ -i "
#ifdef HAVE_BLUETOOTH
"| -b <dev> [-B <chan>] [-d <addr>]"
#endif
#ifdef HAVE_USB
"| -u <intf> "
#endif
"| -t <dev> | -N <host> ]\n"
# - Find Open Object Exchange library
#
# It will use PkgConfig if present and supported, else search
# it on its own. If the OPENOBEX_ROOT_DIR environment variable
# is defined, it will be used as base path.
# The following standard variables get defined:
# OpenObex_FOUND: true if OpenObex was found
# OpenObex_VERSION_STRING: the version of OpenObex, if any
# OpenObex_INCLUDE_DIRS: the directory that contains the include file
# OpenObex_LIBRARIES: full path to the libraries
@TAbdiukov
TAbdiukov / gen_zerg.py
Created January 20, 2021 08:59
ObexFtp - generate zergrush script attempt
import hashlib
import sha3
def beautify_hash(raw):
buf = raw.encode('utf-8')
buf = sha3.sha3_224(buf).hexdigest()
return buf
if __name__ == '__main__':
prefix = "obexftp -v -i "
ObexFTP 0.22
ObexFTP 0.22
Usage: ObexFtp [ -i | -b <dev> [-B <chan>] | -U <intf> | -t <dev> | -N <host> ]
[-c <dir> ...] [-C <dir> ] [-l [<dir>]]
[-g <file> ...] [-p <files> ...] [-k <files> ...] [-x] [-m <src> <dest> ...]
Transfer files from/to Mobile Equipment.
Copyright (c) 2002-2004 Christian W. Zuckschwerdt
-i, --irda connect using IrDA transport (default)
-b, --bluetooth [<device>] use or search a bluetooth device
obexftp -i -U IRMC -v -g "User Data/Java/34FE1CD6.JAR"
obexftp -i -U IRMC -g "User Data/Photo/Image/icons8.PnG"
ObexFTP 0.24
ObexFTP 0.24
Usage: obexftp [ -i | -b <dev> [-B <chan>] | -U <intf> | -t <dev> | -N <host> ]
[-c <dir> ...] [-C <dir> ] [-l [<dir>]]
[-g <file> ...] [-p <files> ...] [-k <files> ...] [-x] [-m <src> <dest> ...]
Transfer files from/to Mobile Equipment.
Copyright (c) 2002-2004 Christian W. Zuckschwerdt
-i, --irda connect using IrDA transport (default)
-b, --bluetooth [<device>] use or search a bluetooth device
#!python3
import re
import sys
try:
fn = sys.argv[1]
except IndexError:
fn = "MYOB Premier v7.msi"
fp = open(fn, "rb")
@TAbdiukov
TAbdiukov / blog.md
Last active November 26, 2023 09:42

Installing Windows 7/8/10 into a ~2007-2010 Mac device with Mac OS X ~10.6 Snow Leopard with broken Boot Camp.

Note: The guide is mostly based off memory, and hopefully there aren't too many inaccuracies. As the guide is mostly historical at this point, steps are adjusted to modern age.

In this guide, the following OS was used:

  • Edition: Windows 7 Professional Service Pack 1
  • Bitness: 32 bit

However, the guide itself is not limited to Windows 7 or 32-bit, and it can be used to install (64-bit) Windows 8.1, 10 or beyond.

needed to be while (mant_sum < 0x00800000) { not while (mant_sum <= 0x00400000) {, obvious now