Topic: TXTDelLine bug?  (Read 811 times)

TXTDelLine bug?
« on: November 03, 2018, 01:44:56 AM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
In TXTDelLine, after disable enable plugin, WINbuilder deletes a space of the string
For Example
TXTDelLine,%Gtarget_sys%\pecmd.ini,EXEC =@!%WinDir%\System32
is changed to
TXTDelLine,%Gtarget_sys%\pecmd.ini,EXEC=@!%WinDir%\System32

Re: TXTDelLine bug?
« Reply #1 on: November 03, 2018, 03:45:40 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Are you doing a second run of same Plugin on target???

pecmd.ini is copied once per build - then plugin(s) alter pecmd.ini

If Re-run same plugin after build - then original text line not exist anymore
« Last Edit: November 03, 2018, 03:43:05 PM by James »

Re: TXTDelLine bug?
« Reply #2 on: November 03, 2018, 02:46:03 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
The problem is not TXTDelLine (which works fine), actually anything in the plugin , for example a remark, is changed by the builder:
This too
//EXEC =@!%WinDir%\System32
is changed to this
//EXEC=@!%WinDir%\System32
 after disabling and enabling the plugin again.
« Last Edit: November 03, 2018, 02:46:45 PM by 0scar »

Re: TXTDelLine bug?
« Reply #3 on: November 03, 2018, 03:43:59 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
went to make new post and modified first one, by mistake

As I just ran two plugins that rewrite pecmd.ini and neither removed the space

But you could also write the space in command by
Code: [Select]
#$s
« Last Edit: November 03, 2018, 03:46:26 PM by James »

Re: TXTDelLine bug?
« Reply #4 on: November 03, 2018, 04:27:41 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Yes, replacing space with #$s  is a workaround but the problem exists, when a space is near a = it is "corrected".
Try
Selected= True
Level= 6
After enable, disable, refresh it will be
Selected=True
Level=6

 

Powered by EzPortal