Re: Assistance Request
By: Daryl Stout to All on Sat Jan 20 2018 11:07 pm
Lord Blackfair has sent me messages on how to put in the CAPTCHA to PistolGrip's Matrix Logon. I like the idea of a CAPTCHA, as it helps
me to better control the bots trying to get into the system (my ip.can
file is growing by the day :P ).
Anyway, he had uploaded the source code for the AceMatrix deal,
and mentioned something about Unbaja and Baja for decompiling and recompiling. But, I confess that it's Greek to me. Is there a Wiki
page or some kind of simple help document on where I could obtain
those programs, and how to decompile the code, make the necessary
change, and recompile it??
unbaja and baja are program that come with Sychronet (in your exec directory). If type the program name on a command-line, it will usually give you a command-line syntax.
For example, typing "baja" displays this:
BAJA v2.34-Win32 (rev 1.48) - Synchronet Shell/Module Compiler
usage: baja [-opts] file[.src]
opts: -d display debug during compile
-c case sensitive variables, labels, and macros
-o set output directory (e.g. -o/sbbs/exec)
-i set include directory (e.g. -i/sbbs/exec)
-q quiet mode (no banner)
-p pause on error
"unbaja" doesn't provide any help output, but I'm pretty sure you just type "unbaja somefile.bin" and it'll create somefile.src.
So... "unbaja" to decompile and "baja" to compile.
Decompiling, in this context, means converting a PCMS .bin files into a Baja .src files. And compiling is the opposite.
As for what changes you need to make the source, I don't know (you'd need to share the instructions from Lord Blackfair), but to make those changes you would edit the .src file with a text editor (e.g. notepad) and save the file before re-compiling back to a .bin file.
digital man
This Is Spinal Tap quote #4:
David St. Hubbins: He died in a bizarre gardening accident...
Norco, CA WX: 47.0oF, 52.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)