PDA

View Full Version : ODbgScript v1.5x.3 - Feature Requests


Epsylon3
May 7th, 2007, 23:51
New thread for the 1.5x and more...

http://odbgscript.sourceforge.net/

1.55.3 (14 May 2007)
+ Added HISTORY command to enable/disable value History (run faster)
+ Added BEGINSEARCH and ENDSEARCH to optimize "find commands"
+ Added GCI Command to Get info on disasm command
+ Added GRO Command Get Relative Offset ("procedure+offset"
+ Added TAB key to Step in Script (S key could "assemble" if ASM window get focus)
+ Added PAUSE key (everywhere) to Pause Script on next command when Application is Running
x BPHWS second parameter is now optional (default "x"
* Comments // in /**/ bloc fixed
* EXEC/END hex dword variables with letter as first char fixed
* label script position fixed
* negative values crash fixed
* eip could now be affected without problems
* Resume on Script breakpoint fixed (SPACE)

1.54.3 (13 May 2007)
+ BUF, STR commands added to convert string to buffer or buffer to string
+ GMI new constants added, (imports, exports, reloc, name, version) see documentation
+ Added Length Information and Hex value to String Variables in Context Menu
+ Enhanced Internal Buffer/String Concatenation : mov test, ##+"123" give #313233# in test
+ Compare Buffer/String is now working
+ Begin Buffer+DW and String+DW (function ADD)
+ Buffer/String Variable Editor is now Binary editor
- Removed MRU menu and some commands from Main Olly Menu
* Internal compare between different types (except buf/str) returns error -2
* Better support in Log Window and Context menu of strings containing "\0"
* removed 00 prefix of dword values in LOG and EVAL commands (%8X to %X)
* OPENTRACE now also opens trace window if not opened
* READSTR documentation update, but this function could be renamed/removed
* FIND commands fix, bad address parameter results 0

1.53.3 (9 May 2007)
+ WRTA has now a third parameter for separator (default \n)
* ASK dlg is now TOPMOST
no more modal and fixed the crash on close if box was not closed properly
* MSG, MSGY no more modal
* Added fixes and news from 1.53 Chinese version

+ pop,push,test,xchg commands.
+ findcmds(Search for command sequence).
+ Added BPX and BPD functions
+ Added the OPENTRACE function (to open run trace)
+ Added the GAPI function (assign address API)
+ Supports 16bit registers (ax, bx)
+ Added the FINDCMD function (search for command);
* GN, GCMT, ASM
* Removed 0 prefix for Hex values in results/values

Other differences with Chinese Version :

MRU "Bug" not modified
I've made two MRU lists for a good reason, olly doesnt refresh Main Menu
Inline operators are still working in this branch of OdbgScript
Weird ESP Menu not added (i dont know what it is)

1.50.3 (8 May 2007)
* 4-bytes alignment and speed optimization (thanks Human)
* Changed URL to http://www.woodmann.com/forum in About Box
* Added fixes and news from 1.50 Chinese version :
*ASM
*EXEC,ENDE
+GMI (added DATABASE, RESBASE, RESSIZE constants)
*GN
*LEN bad operand fix
+DIV,MUL commands
+READSTR to read data at addr. (was possible in MOV command too)
+NEG,NOT asm commands (real asm code)
+ROL,ROR asm commands but looks like same as SHL, SHR
*RTU
*ADD, SHL, SHR, SUB, XOR results to script window

Notes : There are some differences between versions :
WRTA doesnt add CR to lines (binary writing)

fly
May 8th, 2007, 05:50
Nice Plugin

s0me0ne
May 8th, 2007, 12:34
(waiting also for chinese sources 1.51 to 1.53)

posted!

Epsylon3
May 8th, 2007, 13:40
thanks

s0me0ne
May 8th, 2007, 14:15
no problem

Epsylon3
May 8th, 2007, 19:59
1.53.3 is out... Thanks for your help...

Ive restored some erased/broken features and also updated readme...

hmmm ADD function has not the itoa concate feature like 1.53 CN... will be maybe added soon...

s0me0ne
May 9th, 2007, 04:43
nice work, its good to have you back on the job.

is this now the same as hnhuqiong v1.5.3 version but with your fixes + new features?

RE: your comment on tuts 4 you blog

Warning, The 1.52 doesnt support inline operators !
This Chinese Version doesnt have value history in script window

was that my fault or hnhuqiong`s? i dont really understand c++ i just thought it was about time we all had an update that we could read due to the fact some scripts required odbgscript 1.51 or above.

Epsylon3
May 9th, 2007, 13:55
no, it's not your fault, hnhuqiong removed that, i don't.

I follow hnhuqiong version numbers to keep minimal compatiblity... same commands...

i'm creating a sf.net project for odbgscript, like Shag for Hollylua....

Epsylon3
May 12th, 2007, 00:29
http://odbgscript.sf.net new site is open...

i'm working on the SVN version, which has some major new features...

http://odbgscript.svn.sourceforge.net/viewvc/odbgscript/doc/ReadMe.txt?view=markup

1.54.3 (or maybe 1.60) will be released soon... i'm waiting for an answer from hnhuqiong... dont want 2 (too much) different versions with same name... to keep script compatibility

Epsylon3
May 12th, 2007, 22:12
1.54.3 is released.. now on sf.net...

fr33ke
May 18th, 2007, 08:13
This change in 1.54.3:
* removed 0 prefix of dword values in LOG and EVAL commands (%8X to %X)
has broken scripts that use this:

eval "jmp {var1}"
asm var2, $RESULT

This includes Aspr2.XX Unpacker 1.0SE.osc by VolX, and I know people that are using old versions for this reason. My request is that you change back to the old situation for EVAL with a patch like this:
Code:

--- OllyLangCommands.bak Mon May 14 07:41:16 2007
+++ OllyLangCommands.cpp Fri May 18 14:46:46 2007
@@ -1008,7 +1008,7 @@

if (GetSTROpValue(ops[0], to_eval))
{
- string res = ResolveVarsForExec(to_eval,false);
+ string res = ResolveVarsForExec(to_eval,true);
variables["$RESULT"] = res;
return true;
}

Epsylon3
May 18th, 2007, 10:51
hmm yea, i understand... i generally use this eval cmd to log... and also there was a problem if first dword addr was a letter... we need a %09X

will fix that... but in asm command )

Epsylon3
May 18th, 2007, 22:11
fixed in 1.60 released.. released this evening on sf.net...

did you see ODBG 2 announce, part 4 ? http://www.ollydbg.de/version2.html

shERis
June 12th, 2007, 04:49
Hello Epsylon3!

I would need a function

INSTR var,pos,len

which results an inner string of string var beginning at pos with len chars.

Would be not so difficult

shERis

Epsylon3
June 13th, 2007, 04:10
yea, could be usefull... do you prefer INSTR or SUBSTR ?

shERis
June 14th, 2007, 04:55
Hi Epsylon3!

Hmmm, you are right, INSTR isnīt very good.
Better MID or MIDSTR (like VB) or SUBSTR (like PHP).

What do you prefer ?


INSTR should return first position of a string in a string (like VB).

shERis


PS: should we open a new thread for 1.6x ?

dELTA
June 19th, 2007, 02:38
Since shERis didn't seem to make the direct suggestion himself, please see shERis' last post in the following thread, for a suggestion of another new/modified command:

http://www.woodmann.com/forum/showthread.php?t=10191

The thread also contains ready-made code for it, created by Kayaker.