Exetools  

Go Back   Exetools > General > Developer Section

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2019, 04:20
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Lightbulb AdvancedScript x64dbg Plugin

just a try to add more feature's to x64dbg script system
History Section:
- version 2.0:
1-all numbers are hex numbers.
2-more nested in arguments.
3-Build bridge to make plugin system Compatible with x64dbg script system.
4-create parallel Functions to x64dbg Functions, like ( cmp >> cmpx ).
5-rename new name (Varx Getx Setx) and fix array index entry.
6-add VarxClear ( clear all variable to help user in test's ) , memdump with print style.
- version 1.6:
1- add Parser system to recognize arguments.
2- begin build Script system.
3- add more Helper Functions.
- version 1.4:
1- make StrCompx in separate Thread and add Sleep time to wait x64dbg to finish process.
2- Fix Hex2duint function add length check in case it less than 2 .
- version 1.3:
1- Add another argument to cbLogxJustAtBP for printing on LogxWindow.
2- now it accept bool argument like this (true/false-on/off-1/0).
3- add StrComp_BP function for compare string in memory at BP.
4- compiled x32.

Source Code:
https://github.com/Ahmadmansoor/AdvancedScript


If you find it useful please let me know, and if you want to add more feature's please leave a comment.
support both x86 and x64
Attached Files
File Type: rar AdvancedScript.v2.0.rar (275.5 KB, 34 views)
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 4 Users Gave Reputation+1 to ahmadmansoor For This Useful Post:
b30wulf (01-15-2019), deepzero (01-03-2019), MarcElBichon (01-03-2019), zeuscane (01-03-2019)
The Following 26 Users Say Thank You to ahmadmansoor For This Useful Post:
besoeso (01-03-2019), canopus (03-04-2019), chants (01-09-2019), chessgod101 (01-05-2019), Conquest (01-10-2019), Doit (12-02-2019), emo (04-18-2019), Gladiyator (01-04-2019), gsaralji (01-05-2019), hp3 (01-15-2019), Hypnz (01-03-2019), Indigo (07-19-2019), mdj (01-18-2019), mrfearless (01-08-2019), Newbie_Cracker (01-30-2019), niculaita (01-16-2019), nikkapedd (01-07-2019), nimaarek (01-03-2019), p4r4d0x (01-03-2019), quygia128 (07-06-2023), s0me0n3 (01-13-2019), Sir.V65j (09-29-2019), toro (08-13-2019), ZeNiX (01-04-2019), Zeokat (01-16-2019), zeuscane (01-03-2019)
  #2  
Old 01-15-2019, 16:25
hp3 hp3 is offline
Friend
 
Join Date: Oct 2011
Posts: 97
Rept. Given: 20
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 102
Thanks Rcvd at 21 Times in 15 Posts
hp3 Reputation: 2
external link

hi
please upload in externa link
cant download

thank you
Reply With Quote
The Following User Says Thank You to hp3 For This Useful Post:
Indigo (07-19-2019)
  #3  
Old 01-15-2019, 18:02
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Quote:
Originally Posted by hp3 View Post
hi
please upload in externa link
cant download

thank you
it's open source my friend , you can get the release from here

https://github.com/Ahmadmansoor/AdvancedScript/releases
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 7 Users Say Thank You to ahmadmansoor For This Useful Post:
Apuromafo (01-23-2019), hp3 (01-15-2019), Hypnz (01-15-2019), Indigo (07-19-2019), niculaita (01-16-2019), papi (01-15-2019)
  #4  
Old 02-07-2019, 04:28
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
more advanced features

https://github.com/Ahmadmansoor/Adva...ree/ver2.5Beta

it is beta version it could have bug, so please report and if u like to add more features let me know.
version 2.5 beta :
1- Script window is sperate.
2- Create Folder for script,form Load script with category.
3- add more mirror Functions (xorx - pushx ...), and Functions like
( if , goto,writestr ) to shortcut the work.
4- show all variables in a list with it's values.
5- edit script onfly.
6- enable to define array with range like z[n].
7- writestr Function.
8- run from anyware in the script.
9- rest variables list in case maintenance.
10- insert rows as much as you need.
11- insert from clipboard replace all script.
12- insert from clipboard inside the script.
13- copy separated lines to used in other script.
14- insert description without confusing .
15- add the dll file of c++ runtime for each package.
16- add some scripts samples.
17- as it is beta version so it support one step not auto step , use F12 for step, sorry for that
I need to check if it work then I will add auto step :}

note : I forget to say use (Scriptw) command to show the Script window , buy git has stop working
and copy the script sample to ur script folder in x64dbg folder
and pls read the help first
Attached Files
File Type: zip AdvancedScript_2.5beta.zip (750.4 KB, 9 views)
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 3 Users Gave Reputation+1 to ahmadmansoor For This Useful Post:
b30wulf (02-07-2019), niculaita (02-27-2019), user1 (02-22-2019)
The Following 13 Users Say Thank You to ahmadmansoor For This Useful Post:
darkBLACK (02-12-2019), deepzero (02-07-2019), gsaralji (02-07-2019), Indigo (07-19-2019), niculaita (02-08-2019), nimaarek (02-07-2019), p4r4d0x (02-07-2019), pps44 (02-08-2019), user1 (02-22-2019), WRP (02-07-2019), yoza (02-15-2019), zeuscane (02-08-2019)
  #5  
Old 03-01-2019, 04:21
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
AdvancedScript version 2.8

- version 2.8 :
1- fix a lot of bugs in calculations and get values.
2- F11 run/stop script now Enabled, F12 step script.
3- get values for nasted variables like $x[$z+1]
4- add new commands (ret ,GetAPIName ,ResizeArray ,GetArraySize ,Write2File ,inputbox).
5- add Dependency and samples Script as separate package.

releases 2.8

Please read ReadMe .

this is sample to write a tracer:
HTML Code:
varx str,path,"E:\temp1\log.txt"
varx str,addr
varx str,APIname
varx int,OEP,0000000140226B80
varx array,temp[1]
varx int,i,0
if {rip}=$OEP,int,14d,7d
resizearray $temp,1
setx $addr,{rax}
GETAPIName $APIname,$addr
setx $temp[$i],$addr    $APIname
setx $i,$i + 1
go
goto 6d
varx int,sizeArray,0
GetArraySize $temp,$sizeArray
if $sizeArray=0,int,19d,17d
write2file $path,1,$temp[$sizeArray]
setx $sizeArray,$sizeArray -1
goto 16d
Attached Files
File Type: zip AdvancedScript_2.8.zip (296.5 KB, 12 views)
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following User Gave Reputation+1 to ahmadmansoor For This Useful Post:
Storm Shadow (03-10-2019)
The Following 8 Users Say Thank You to ahmadmansoor For This Useful Post:
Apuromafo (03-01-2019), canopus (03-04-2019), Indigo (07-19-2019), MarcElBichon (03-01-2019), mrfearless (03-01-2019), nulli (03-01-2019), Storm Shadow (03-10-2019), tonyweb (03-02-2019)
  #6  
Old 03-28-2019, 18:25
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
AdvancedScript version 3.0

https://github.com/Ahmadmansoor/AdvancedScript

1- add help file and command help on the form.
2- add ads lib like ("GetAPIName","GetArraySize","ReadStr","GetdesCallJmp","isInArray","isAddrBelongSection").
3- Write2File_ can write array directly.
4- add commentset command.
5- replace Script:ebug::Wait(); with waitPauseProcess();
6- at ret command .
7- AutoComplete for Functions and variables and ads lib.
8- add log box for future work.
9- add AutoUpdate checkbox for enable disable update of variables list.
10- fix some bug and improve some others like (findallmemx) .
11- add tuts how to use.


AdvancedScript How to
https://youtu.be/hku8Is8-Z34

Script How to fix IAT
https://youtu.be/37gTCNIAIAM

Themida API Comment Script Good for Static Analyzing
https://youtu.be/SKustnN7qEY
Attached Files
File Type: txt Thmedia IAT Comments.txt (2.7 KB, 18 views)
File Type: zip AdvancedScript_3.0.zip (432.0 KB, 18 views)
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following User Gave Reputation+1 to ahmadmansoor For This Useful Post:
Fyyre (04-07-2019)
The Following 15 Users Say Thank You to ahmadmansoor For This Useful Post:
Apuromafo (03-29-2019), canopus (03-30-2019), darkBLACK (03-30-2019), Fyyre (04-07-2019), gsaralji (03-30-2019), hors (03-31-2019), Indigo (07-19-2019), MarcElBichon (03-28-2019), niculaita (03-28-2019), nikkapedd (04-02-2019), nimaarek (03-28-2019), p4r4d0x (03-28-2019), Stingered (03-30-2019), WRP (03-29-2019), zeuscane (03-28-2019)
  #7  
Old 05-02-2019, 21:48
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
AdvancedScript_3.1

AdvancedScript_3.1:
- fix CheckHexIsValid ( fix length ).
- add menu to (copy - follow - delete) variables .
- add more check for StrAnalyze.
- add MsgBox for if command in a case does not resolve arguments.

note : copy can copy one value or all values in case Array variables
Attached Files
File Type: zip AdvancedScript_3.1.zip (432.9 KB, 20 views)
File Type: zip Script.zip (8.9 KB, 16 views)
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 2 Users Gave Reputation+1 to ahmadmansoor For This Useful Post:
hors (05-08-2019), niculaita (05-03-2019)
The Following 10 Users Say Thank You to ahmadmansoor For This Useful Post:
bigboss-62 (05-06-2019), darkBLACK (05-04-2019), dave_omirora (05-15-2019), emo (05-08-2019), gsaralji (05-05-2019), Indigo (07-19-2019), Insid3Code (06-06-2019), MarcElBichon (05-03-2019), niculaita (05-03-2019)
  #8  
Old 06-10-2019, 04:00
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
New update AdvancedScript 4.0 with new GUI
will upload it soon, I hope u like it guys
https://youtu.be/pEMKHpYjqxs
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 2 Users Say Thank You to ahmadmansoor For This Useful Post:
Indigo (07-19-2019), niculaita (06-11-2019)
  #9  
Old 06-11-2019, 21:42
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Thumbs up AdvancedScript_4.0

- version 4.0:
1- add RegexSearch form.
2- New GUI after replace DataGridView with RichTextBox to easy deal and fast coding.
3- edit CustomBuildStep to Auto copy files (AdvSconfig.txt , HelpAdvancedScript.txt).
4- add AutocompleteMenu.dll .
5- add copy AutocompleteMenu.dll to x64dbg root .
6- add AdvSconfig.txt for AutoComplete list for define Commands and variables.
7- update AutocompleteMenu.dll.
8- add comments_ to Variables class to add it next to the description of the variables when call them by Ctrl+j
9- call list var's by Ctrl+j
10- add ReFill_FunctionsAutoComplete_AtLoad.
11- highlight_system done for good look and analyze.
12- add autoCompleteFlexibleList to handle commands defined in AdvSconfig.txt.
13- add open Script from out side.
14- refresh by menu and F5 to refresh highlight_system.
15- add var of x64dbg system.

note: by AdvSconfig.txt u can define the commands in AdvancedSecript.

https://github.com/Ahmadmansoor/AdvancedScript

https://mega.nz/#!WA4gkapb!GfZ8AfdLF...ZsT03SAWCP2VhM
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 5 Users Say Thank You to ahmadmansoor For This Useful Post:
Chr155Y (06-12-2019), darkBLACK (06-14-2019), Indigo (07-19-2019), MarcElBichon (06-12-2019), niculaita (06-11-2019)
  #10  
Old 06-27-2019, 03:24
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Hi
New Update with more features :
https://github.com/Ahmadmansoor/AdvancedScript

AdvancedScript version 4.3

https://github.com/Ahmadmansoor/AdvancedScript/releases

* Add new commands and fix some bugs
* fix error load of the Auto Commands when there is no ;
* Fix AutoRun and stepson ( wait command to finish).
* Fix color variable name.
* Add ReadFile , Write2Mem , ReadMem
* Add GoToByBase Form
* Assigned variable directly no need to Setx Command.


Sample :
Varx str,memory // var will hold the hex value
Varx int,rax_,0 // read rax value +1
Varx str,ourStr // read test string
ReadMem $memory,{rax},5
$rax_={rax} +1
$rax_=ads.exebase
ReadStr $ourStr,{rdx}
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 6 Users Say Thank You to ahmadmansoor For This Useful Post:
chessgod101 (08-13-2019), darkBLACK (06-27-2019), Indigo (07-19-2019), niculaita (06-27-2019), user1 (07-20-2019), yoza (08-13-2019)
  #11  
Old 08-12-2019, 11:02
MrScotc MrScotc is offline
Banned User
 
Join Date: Dec 2017
Posts: 33
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 29
Thanks Rcvd at 34 Times in 12 Posts
MrScotc Reputation: 1
why should this be an error ?
Quote:
Varx int,NtAllocateVirtualMemory,0
https://ibb.co/LvQshZt

Last edited by MrScotc; 08-12-2019 at 11:21.
Reply With Quote
  #12  
Old 08-13-2019, 01:12
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Post

Quote:
Originally Posted by MrScotc View Post
why should this be an error ?


https://ibb.co/LvQshZt
that mean u trying to redefine the variable again
press refresh List button and check the variable is already defined.
now u have 2 way :
press right click and remove the variable or move to next line and right click and chose (run from here ).

I make AutoUpdate checkBox unchecked because sometimes when u define a big array it will slow ur work .
so use AutoUpdate checkBox just in debug mode,otherwise u can press refresh button
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
  #13  
Old 08-13-2019, 11:42
MrScotc MrScotc is offline
Banned User
 
Join Date: Dec 2017
Posts: 33
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 29
Thanks Rcvd at 34 Times in 12 Posts
MrScotc Reputation: 1
emm, how about check it first, if its not the same type as before, then redifine ?
Reply With Quote
  #14  
Old 08-13-2019, 16:55
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 515
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 378
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
https://ibb.co/x61VJ2k
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following 5 Users Say Thank You to ahmadmansoor For This Useful Post:
dave_omirora (11-06-2019), hors (08-14-2019), niculaita (08-13-2019), pps44 (10-17-2019)
  #15  
Old 10-15-2019, 00:35
Sany Sany is offline
Friend
 
Join Date: Oct 2019
Location: r00t
Posts: 39
Rept. Given: 0
Rept. Rcvd 4 Times in 1 Post
Thanks Given: 19
Thanks Rcvd at 45 Times in 7 Posts
Sany Reputation: 4
Hey

Thanks for you work, but the Videos you are posted, is marked as "private"...
i want to show the videos

Can any one send me the Scripts? i can't download any files :/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
x64dbg Plugin Manager hors Developer Section 12 03-03-2023 04:00
DBG2AP - x64dbg plugin Agmcz Community Tools 1 06-15-2019 07:14
Strings plugin for x64dbg hors Developer Section 0 03-16-2019 01:42
nfd - x64dbg plugin hors Community Tools 2 04-01-2018 08:18
CeAutoAsm-x64dbg Plugin atom0s Developer Section 1 10-05-2017 09:30


All times are GMT +8. The time now is 15:54.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )