Skip to content

Instantly share code, notes, and snippets.

#ifdef _WIN32
#include "inttypes.h"
#else /* _WIN32 */
#include <inttypes.h>
#endif /* _WIN32 */
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")